✍Tips and Tricks in Python

Change Jupyter Notebook Startup Folder

Ke Gui
3 min readSep 1, 2018
Photo by Dave Gandy under the Public Domain Dedication License

TL;NR:

This is the method I used most:

cd into the directory or a parent directory (with the intended directory you will work nested in it).Then just run the command jupyter notebook

There are many ways you can change Jupiter notebook startup folder. Here I put a collection of them below for your reference.

1. Change Jupyter Notebook startup folder (Windows)

  • Copy the Jupyter Notebook launcher from the menu to the desktop.
  • Right click on the new launcher and change the Target field, change %USERPROFILE% to the full path of the folder which will contain all the notebooks.
  • Double-click on the Jupyter Notebook desktop launcher (icon shows [IPy]) to start theJupyter Notebook App. The notebook interface will appear in a new browser window or tab. A secondary terminal window (used only for error logging and for shut down) will be also opened.

2. Change Jupyter Notebook startup folder (Mac OS)

To launch Jupyter Notebook App:

  • Click on spotlight, type terminal to open a terminal window.

--

--

Ke Gui
Ke Gui

Written by Ke Gui

An ordinary guy who wants to be the reason someone believes in the goodness of people. He is living at Brisbane, Australia, with a lovely backyard.

Responses (1)