cat < ~/Library/LaunchAgents/com.$(whoami).jupyterlab.plist KeepAlive Label com.$(whoami).jupyterlab ProgramArguments $(which jupyter) lab --notebook-dir=/ --no-browser --port 8002 --LabApp.password=$(python -c "from __future__ import print_function; from notebook.auth import passwd; print(passwd())") RunAtLoad EOF launchctl load ~/Library/LaunchAgents/com.$(whoami).jupyterlab.plist open http://localhost:8002/