Skip to main content
v2026.11,858 entries · CC-BY 4.0

Anaconda for Jupyter Notebook: Install and Open It

Install Jupyter Notebook with pip or Anaconda, open it from the terminal or Navigator, and fix port and shutdown problems using the official commands.

Written and maintained by CASRAI Editorial Board

Last updated

To use Anaconda for Jupyter Notebook, you start the notebook server with one command, jupyter notebook, from a terminal, or click the Jupyter Notebook tile in Anaconda Navigator. The server prints a local address (by default http://localhost:8888) and opens your default web browser at it. Jupyter’s own documentation also lists the plain pip install notebook route, and this guide shows when each route fits a research workflow.

What it is used for in research

Anaconda’s Navigator documentation describes Jupyter Notebook as a system that combines code, descriptive text, output, images and interactive interfaces into a single notebook file that is edited, viewed and used in a web browser. Researchers use it to keep an analysis, its output and the explanation of it together. For a lab-record view of notebooks, see the CASRAI guide to free and open-source electronic lab notebooks; for the analysis side, see what is data science.

Install or access (official source only)

How to install Jupyter Notebook

The Jupyter project’s install page uses pip, which it calls the recommended installation tool for Python, and gives this command for the classic Notebook:

pip install notebook

The same page says that if you need environment management rather than just installation, you should look into conda, mamba, pipenv or Homebrew. For that reason the two routes below are a real choice, not two spellings of one step.

Route What the official pages say
pip pip install notebook, then jupyter notebook (jupyter.org/install).
conda or mamba jupyter.org/install points to conda and mamba for environment management, and recommends the conda-forge channel when JupyterLab is installed that way. For the difference between the two tools, see mamba vs conda.
Anaconda Navigator Anaconda’s Navigator documentation says Jupyter Notebook is used the same way as the other tools on the Home page: click its tile.

How to install Jupyter Notebook on Mac

On a Mac the same pip install notebook command applies, and the Jupyter install page also lists Homebrew, which it describes as a package manager for macOS and Linux, as another way to install Jupyter. On Mac and Linux you start the server from Terminal; on Windows, from Command Prompt.

Step-by-step task: open and run Jupyter Notebook

How to open Jupyter Notebook from the terminal

  1. Open a terminal: Terminal on Mac or Linux, Command Prompt on Windows (per the Jupyter documentation).
  2. Run jupyter notebook.
  3. Read the lines the server prints. They include the address it is running at, by default http://localhost:8888.
  4. Your default web browser opens at that address. If it does not, enter the printed address in a browser yourself.

How to launch Jupyter Notebook from Anaconda

If Anaconda is installed, open Anaconda Navigator and click the Jupyter Notebook tile on the Home page. Anaconda’s Navigator documentation describes launching Jupyter Notebook the same way as Spyder, by clicking its tile.

How to run Jupyter Notebook

Running it means keeping the server process alive in the terminal while you work in the browser tab. The documented options are:

  • jupyter notebook notebook.ipynb opens a specific notebook.
  • jupyter notebook --port 9999 starts the server on a port you choose.
  • jupyter notebook --no-browser starts the server without opening a browser.
  • jupyter notebook --help lists the server options.
  • To stop, press Control-C in the terminal; the server’s own message says this stops the server and shuts down all kernels, and pressing it twice skips the confirmation.

Output and how to read it

The terminal output is the server’s log. Its startup line states where the notebook is running (by default http://localhost:8888/) and repeats the Control-C instruction.

Troubleshooting

Symptom What the documentation supports
Port 8888 is already in use The server searches for the next available port, so read the printed address rather than assuming 8888. You can also choose one with --port.
The browser did not open Copy the address printed in the terminal into a browser. The --no-browser option exists precisely to suppress the automatic open.
You need to shut it down Control-C in the terminal, twice to skip the confirmation; this also shuts down all kernels.
Not sure which options exist Run jupyter notebook --help.

Free alternatives (table)

These are the other tools on the Jupyter project’s install page, each with its official command.

Tool Install Launch
Jupyter Notebook (classic) pip install notebook jupyter notebook
JupyterLab pip install jupyterlab jupyter lab
Voilà pip install voila voila

For making an analysis environment citable and repeatable, see the dictionary entry on the computational environment, and the guide to citations in Quarto, R Markdown and Pandoc for a related notebook-style authoring workflow.

FAQ

How do I install Jupyter Notebook?

Run pip install notebook, then start it with jupyter notebook. Both commands are on the Jupyter project’s install page.

How do I open Jupyter Notebook from the terminal?

Type jupyter notebook in Terminal (Mac or Linux) or Command Prompt (Windows). The server opens your default browser at its local address.

How do I launch Jupyter Notebook from Anaconda?

Click the Jupyter Notebook tile on the Anaconda Navigator Home page, or run jupyter notebook from a terminal.

Which port does Jupyter Notebook use?

8888 by default. If it is in use, the server searches for the next available port; --port sets one manually.

How do I stop Jupyter Notebook?

Press Control-C in the terminal that runs the server (twice to skip confirmation). This shuts down all kernels.

Sources (official docs)

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Ask CASRAI · free to try

Ask about Anaconda for Jupyter Notebook: Install and Open It

Ask your first 2 questions free below. Subscribers get 150 a day for $29 a month.

An AI assistant specialized in research administration. It cites the sources behind every answer, labels web answers and says when it can't answer.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays free to read, with no account and no card.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →

Ask CASRAI · Regulatory Radar

Research-admin question? Get an answer that links its sources.

An AI assistant specialized in research administration. Every answer links its sources to check before you act. 2 questions free, no account. $29/month after.

  • Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.
  • Every answer numbers its sources and links each one, so you can check the source yourself.