Skip to content

Instantly share code, notes, and snippets.

@dpapathanasiou
Created March 7, 2026 16:20
Show Gist options
  • Select an option

  • Save dpapathanasiou/384e5ebd069ab8a66cd1fbea049f581a to your computer and use it in GitHub Desktop.

Select an option

Save dpapathanasiou/384e5ebd069ab8a66cd1fbea049f581a to your computer and use it in GitHub Desktop.
No fuss Julia and Jupyter Notebook setup on macOS and linux

No fuss Julia and Jupyter Notebook setup on macOS and linux

After installing julia (using the standard curl ... | sh approach), this one-liner does all the project dependency installs, given the existence of a Project.toml file at .:

julia --project=. -e "using Pkg; Pkg.instantiate()"

Then, this one-liner runs jupyter within a new conda environment, which is completely self-contained within julia (i.e., no need to install conda first and create a new environment for this project):

julia --project=. -e "using IJulia; notebook()"

Removing that embedded conda environment is as simple as deleting the ~/.julia/conda directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment