
Now you’re done… go enjoy jupyter by relaunching it. If you’re using vim, hit ESC, then type :wq and hit return. Replace that with the following and uncomment the line so it looks like this: c.NotebookApp.browser = 'open -a /Applications/Google\ Chrome.app %s'ĥ. This line is commented and has empty quotes as placeholders. use /browserĪnd hit return to find “browser” or any other string that you wanna find, in life, in general.Ĥ. (whisper)Pro Tip: Since the file is huge, it could be a pain in the ass to find such small thing, especially if you are sleepy. Once you have it open, you gotta find something that looks like this line: #c.NotebookApp.browser = '' If you don’t have the file, create it using : $jupyter notebook -generate-configģ. You can even open it in any of the other editors, I don’t care, so vim it is. If you do, open it using: $vi jupyter_notebook_config.py When the Preferences box appears, navigate to the ‘Default browser’ option by scrolling down.

Advertisement Select Preferences from the drop-down menu that comes after you click Chrome in the toolbar. Click Chrome in the toolbar at your screen’s upper section once the window has opened. Once you are in this directory, see if you have a file by the name of “jupyter_notebook_config.py”. How to set Safari as your default browser Open Safari An open copy of Safari on OS X Click the Safari menu item and choose Preferences The Preferences. Launch Google Chrome on your MacBook to begin. I’m assuming that you have Jupyter installed.Ģ. You can keep your default browser as Safari and change it to Chrome for just Jupyter.

If you are like me who prefers a cleaner browser like safari for browsing stuff but would prefer Chrome for coding just cause Safari is a bummer at times and hangs, you might find this helpful.
