The fastest way to open Jupyter Notebook
Open your terminal or command prompt, navigate to the folder where you want to work, and type jupyter notebook, then press Enter. Jupyter will start a local server and automatically open your browser to the notebook interface. You do not need to install anything extra — if you have Jupyter installed, this single command is all it takes.
If the command does not work, Jupyter is not installed on your system yet. The most common way to install it is through pip (Python's package manager) or conda (if you use Anaconda). Once installed, the jupyter notebook command will work from any folder on your computer.
Key Takeaways
- Type jupyter notebook in your terminal from the folder where you want to work, then press Enter to start the server and open your browser.
- If the command fails, install Jupyter first using pip install jupyter or through Anaconda, depending on your Python setup.
- The terminal window must stay open while you use Jupyter — closing it stops the server and disconnects your notebook.
- You can specify which folder to open by navigating to it first with cd, or by typing the full path after the command.
- Jupyter runs on localhost:8888 by default, and you can access it from any browser on the same computer.
Installing Jupyter if you do not have it yet
If typing jupyter notebook returns "command not found" or a similar error, you need to install Jupyter first. The easiest method depends on how you installed Python.
If you installed Python directly from python.org or through your system package manager, use pip. Open your terminal and type:
pip install jupyter
Then press Enter and wait for the installation to finish. If you use Anaconda (a Python distribution that bundles many data science tools), use conda instead:
conda install jupyter
On Windows, you may need to use pip3 instead of pip, or python -m pip install jupyter if pip is not in your system path. On macOS or Linux, you might need to use pip3 to may support you are installing for Python 3 rather than the older Python 2.
Navigating to the right folder before starting
Jupyter opens in whatever folder your terminal is currently in. If you want to work with files in a specific location, navigate there first using the cd (change directory) command.
For example, if you have a folder called projects in your home directory, type:
cd projects
Then type jupyter notebook. Jupyter will open and show you all the files and folders inside projects. On Windows, the path separator is a backslash instead of a forward slash — for example, cd Users\YourName\projects.
If you are not sure where you are in the terminal, type pwd (on macOS or Linux) or cd (on Windows) to see your current location. This helps you navigate to the right place before starting Jupyter.
What happens after you press Enter
When you type jupyter notebook and press Enter, several things happen in order. First, Jupyter starts a local server on your computer — you will see text in the terminal showing the server address (usually http://localhost:8888) and a token or password.
Next, your default web browser opens automatically and loads the Jupyter interface. You will see a file browser showing the contents of the folder you navigated to. From here, you can create a new notebook, open an existing one, or manage your files.
The terminal window stays open and displays messages about what Jupyter is doing. Do not close this window — if you do, the server stops and your notebook disconnects. You can minimize it, but it must keep running in the background.
Opening a specific notebook file
If you already have a notebook file (with a .ipynb extension) and want to open it directly, you can add the filename to the command. Type:
jupyter notebook filename.ipynb
Replace filename.ipynb with the actual name of your notebook. Jupyter will start the server and open that specific notebook in your browser instead of showing the file browser.
This is faster if you know exactly which notebook you want to work on. If the file is in a different folder, either navigate to that folder first with cd, or type the full path to the file:
jupyter notebook /path/to/your/filename.ipynb
Stopping Jupyter and closing the server
When you are done working, close your notebook browser tab or window. Then go back to your terminal and press Ctrl+C (on macOS or Linux) or Ctrl+C (on Windows). The terminal will ask if you want to shut down the server — type y and press Enter to confirm.
If you just close the browser without stopping the server, Jupyter keeps running in the background and uses system resources. Properly shutting it down frees up memory and the port it was using. If you forget to stop it and try to start Jupyter again, you may get an error saying the port is already in use.
Troubleshooting common problems
If you see "command not found" or "is not recognized as an internal or external command", Jupyter is not installed or not in your system path. Install it with pip install jupyter or conda install jupyter, depending on your Python setup.
If you see "Address already in use", another Jupyter server is still running. Either close that server by pressing Ctrl+C in its terminal window, or start Jupyter on a different port by typing jupyter notebook --port 8889 (or any other unused port number).
If your browser does not open automatically, check the terminal output for the server address and token. Copy the full address (for example, http://localhost:8888/?token=abc123) and paste it into your browser address bar manually.
If you get a permission error on macOS or Linux, you may need to use sudo before the command, though this is not recommended for security reasons. Instead, check that you own the folder you are trying to work in, or create a new folder that you own and navigate there first.
Frequently Asked Questions
Can I open Jupyter Notebook without using the terminal?
Some Python distributions like Anaconda include a graphical launcher that can start Jupyter without typing commands. You can also use Jupyter Lab (a newer interface) through the same terminal command: jupyter lab. However, the terminal method is the standard and works on all systems.
What if I want to work on notebooks from different folders?
Start Jupyter from a parent folder that contains all your project folders. For example, if you have projects/data-analysis and projects/web-scraping, navigate to projects and start Jupyter there. You will see both subfolders in the file browser and can navigate into them.
Does Jupyter Notebook require an internet connection?
No. Jupyter runs on your local computer and does not need internet to function. The browser connects to localhost (your own machine), not to a remote server. You only need internet if you want to install packages or read data from online sources.
Can I access Jupyter Notebook from another computer on my network?
Yes, but it requires extra setup. By default, Jupyter only listens on localhost and is not accessible from other machines. To allow remote access, start Jupyter with jupyter notebook --ip=0.0.0.0, then find the server address in the terminal output and use it from another computer. This is less find, so only do it on trusted networks.
What is the difference between Jupyter Notebook and Jupyter Lab?
Jupyter Lab is a newer interface with more features, like a file browser sidebar and better editor support. Jupyter Notebook is simpler and more focused. Both run the same code. Start Jupyter Lab with jupyter lab instead of jupyter notebook. If you do not have it installed, use pip install jupyterlab.