How to Start Jupyter Notebook on Mac


If you have installed Jupyter Notebook via pip/pip3, you can start it via the command line on your Mac as follows,

  1. Open Terminal Application.
  2. Now type:
    python3 -m notebook
  3. You will see something like this on your terminal,

    [I 18:12:17.778 NotebookApp] Serving notebooks from local directory: /Users/c2ctech
    [I 18:12:17.778 NotebookApp] Jupyter Notebook 6.5.4 is running at:
    [I 18:12:17.778 NotebookApp] http://localhost:8888/?token=9b3a5d214c1e755423b1f32ef2f871b332fcf2715ae3b3ab
    [I 18:12:17.778 NotebookApp] or http://127.0.0.1:8888/?token=9b3a5d214c1e755423b1f32ef2f871b332fcf2715ae3b3ab
    [I 18:12:17.778 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

  4. You will be directed to your web browser (Safari/Chrome/Edge based on what you set as default) with Home Page
  5. URL: http://localhost:8888/tree
Running Jupyter Notebook on Mac
jupyter window on Safari

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org



















Copyright ยฉ Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap