Jupyter Notebook installs on a Mac through Python's package installer, pip, and runs in your web browser. Put it in a separate Python environment first so its packages don't get mixed with other projects, then start it from Terminal.
The same commands work with supported Python 3 on an Intel Mac or an M-series model. They install the Notebook app, rather than the separate JupyterLab interface or a complete Anaconda distribution.
In this guide
Check Python before installing Notebook
Open Terminal from Applications > Utilities. If you're unfamiliar with that window, Apple's Terminal opening instructions show the app you need. Type the command, then press Return:
python3 --version
You should see a Python 3 version. If Terminal reports that the command isn't found, install a supported Python 3 distribution before continuing. The Python documentation for macOS describes the official installer.
An Apple developer-tools prompt isn't the Notebook installer. Get Python ready first; installing unrelated developer tools won't give you the Notebook package.
The current official Python installer works on both Intel and M-series Macs. The Terminal commands don't need different spellings for an M-series processor, and you don't need Rosetta just to follow this route.
If your Python installation is older, check which versions the current notebook package supports. Install a supported Python release if yours is too old; retrying the same install won't change that requirement.
Create a project folder and its environment
Run each Terminal line separately. They create a folder in your home directory, move into it, and build an environment named .venv:
mkdir -p ~/notebook-work
cd ~/notebook-work
python3 -m venv .venv
source .venv/bin/activate
A virtual environment is a folder containing a project's Python setup and packages. Activating it tells this Terminal session to use that setup. It doesn't change the Python used by every other app on the Mac.

The prompt often gains (.venv) after activation. To check the package installer's location directly, run:
python3 -m pip --version
Look for your project's .venv folder in the displayed path before installing anything. If it points elsewhere, repeat the activation command while you're in ~/notebook-work.
I'd keep one environment per project rather than combine unrelated classwork and experiments in a single shared install. This example gives Notebook its own working folder without asking you to edit macOS system folders.
If you already manage Python with Homebrew, the Homebrew setup checks cover its shell configuration. You can still use an environment for Notebook; Homebrew isn't an extra requirement for these commands.
Install the notebook package inside that environment
With the environment active, run:
python3 -m pip install --upgrade pip
python3 -m pip install notebook
Let the first command finish before running the second. The second downloads Notebook and the packages it needs. Installation needs internet access; ordinary local notebook work can run offline later.
The project uses pip install notebook in its installation instructions. Calling pip through python3 -m pip keeps the installer tied to the Python selected in your active environment.
If you see externally-managed-environment, check that .venv is active, then install inside it. Don't use sudo pip or bypass package protections to force changes into a shared Python setup.
If you see No matching distribution found, compare the required Python version with python3 --version. Keep the full text of connection or certificate errors; renaming a notebook won't fix a download.
Start Notebook and run one small calculation
From the same activated Terminal session, start the app:
jupyter notebook
A browser window or tab should open with Notebook's file dashboard. Keep Terminal running; it runs the local server that your browser connects to. Closing a browser tab alone doesn't stop that service.
If no tab opens, copy the local server address from Terminal into the browser. Keep its actual port and token; an example URL from a guide won't match your running session.
The token is part of the login link for your running server. Keep that full link private. This guide is for a local session, so keep the server local while checking the installation.
On the dashboard, use New Notebook and select the available Python kernel when asked. Kernel names can differ by installation. A kernel is the process that runs a notebook's code; select the Python one you installed for this project.
In the first code cell, enter 2 + 2, then press Shift+Return. The cell should display 4. That confirms the browser interface and Python kernel are working together to run the calculation.
Save the notebook with File > Save Notebook. Check the dashboard for its .ipynb file in the working folder. That file is your notebook document. The installed software is kept separately in .venv.
Stop it properly and reopen it next time
Save the notebook before ending the session. Return to the Terminal window that started the server, press Control+C, and follow its shutdown confirmation. Then enter deactivate to end the active Python environment.
For another session, open Terminal and run:
cd ~/notebook-work
source .venv/bin/activate
jupyter notebook
Notebook stays installed between sessions. If a new Terminal window says jupyter: command not found, activating the same environment is the first check. Installing another copy elsewhere can make the setup harder to follow.
A Java warning belongs to a different runtime. The Mac Java installation guide handles apps that need a JDK; installing Java isn't a repair for a missing Python environment.
For an unresolved failure, give Jupyter's Discourse forum the command, Python version, and full error. Remove any server token first. The Python version, command, and error help support check for package, version, or connection problems.
The Short Version
Check Python 3, create and activate .venv, then install notebook through that environment's pip. Launch with jupyter notebook, run 2 + 2, and save the document. Reactivate the same environment when reopening it.
Checked November 27, 2026.







