{"id":16730421,"url":"https://github.com/oschulz/julia-setup","last_synced_at":"2026-01-02T21:46:11.565Z","repository":{"id":208394955,"uuid":"721520013","full_name":"oschulz/julia-setup","owner":"oschulz","description":"Julia language installation and setup","archived":false,"fork":false,"pushed_at":"2024-06-22T17:29:30.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-10T22:43:38.315Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oschulz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-21T08:28:01.000Z","updated_at":"2024-06-22T17:29:33.000Z","dependencies_parsed_at":"2023-11-21T09:47:01.291Z","dependency_job_id":null,"html_url":"https://github.com/oschulz/julia-setup","commit_stats":null,"previous_names":["oschulz/julia-setup"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oschulz%2Fjulia-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oschulz%2Fjulia-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oschulz%2Fjulia-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oschulz%2Fjulia-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oschulz","download_url":"https://codeload.github.com/oschulz/julia-setup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243764032,"owners_count":20344345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T23:33:25.193Z","updated_at":"2026-01-02T21:46:11.559Z","avatar_url":"https://github.com/oschulz.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Julia installation and initial setup\n\n*Disclaimer: The following instructions contain personal recommendations by the\nauthor and are neither \"official\" nor the only way of installing and setting up\nJulia. The instructions and included software/scripts are licensed under the\n[MIT license](https://opensource.org/license/mit/), without warranty, use at\nyour own risk.*\n\nThis is a short tutorial on how to install the\n[Julia programming language](https://julialang.org/)\nand set things up so you can use automatic code reloading (via\n[Revise](https://timholy.github.io/Revise.jl/stable/)).\n\n\n## Software Installation\n\n### Installing Julia\n\nThe easiest way to install Julia is using the Juliaup installation manager, just follow the\n[official Julia installation instructions](https://julialang.org/downloads/).\n\n(In addition to Juliaup, you can also\n[manually download](https://julialang.org/downloads/#official_binaries_for_manual_download)\nand unpack/install a binary tarball for Linux, a binary tarball or a disk\nimage for OS-X, and either a standalone installer or a portable ZIP archive\nfor Windows.)\n\nOn Windows (only!), you may also need to install the\n[Visual C++ redistributable](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist), e.g. if you want to use\n[CUDA from Julia](https://cuda.juliagpu.org/stable/installation/overview/).\n\n\n### Julia in Visual Studio Code\n\n[Visual Studio Code](https://code.visualstudio.com/download) provides a great\nenvironment to work with Julia.\n\nInstall the\n[VS-Code Julia extension](https://code.visualstudio.com/docs/languages/julia),\nin most cases it should locate your Julia installation automatically. If\nnot, configure the VS-Code setting `\"julia.executablePath\"` manually.\n\nAlso try setting `\"julia.execution.codeInREPL\": true` in your VS-code setting,\nit makes code section you evaluate in scripts via Ctrl-enter available in the\nJulia REPL history afterwards.\n\n\n### Julia Jupyter notebooks\n\n#### Jupyter notebooks in Visual Studio Code\n\nYou should be able to run Julia Jupyter notebooks directly within Visual\nStudio Code without any additional configuration. By default, VS-Code Julia\nnotebooks use the same Julia version/installation that is used by the VS-Code\nJulia extension, so no Jupyter kernel configuration is required.\n\n\n#### Jupyter notebooks outside of Visual Studio Code\n\nIf you want to run Julia Jupyter notebooks outside of Visual Studio Code, you\nwill also need a working Jupyter installation.\n[JupyterLab Desktop](https://github.com/jupyterlab/jupyterlab-desktop)\nis easy\n[to install](https://github.com/jupyterlab/jupyterlab-desktop/releases),\nbut an [Anaconda](https://www.anaconda.com/) or system/custom Python\ninstallation that includes Jupyter will work too, of course.\n\nFor non-VS-Code Jupyter notebooks you also also need to install the\n[IJulia Jupyter Julia kernel](https://github.com/JuliaLang/IJulia.jl) (see\nnext section).\n\n\n## Setting up Julia\n\nNow open a [Julia REPL](https://docs.julialang.org/en/v1/stdlib/REPL/). To\nopen a REPL, you can\n\n* use Ctrl+Shift+P (Shift+Command+P on OS-X) and select \"Julia: Start REPL\" in\n  Visual Studio Code, or\n\n* start the Julia application on OS-X or Windows, or\n\n* run `julia` in a shell/terminal if the Julia executable is on your `$PATH`.\n\nThen run\n\n```julia\njulia\u003e include(download(\"https://raw.githubusercontent.com/oschulz/julia-setup/main/julia_setup.jl\"))\n```\n\nto install and configure Revise. \n\nFor non-VS-Code Jupyter notebooks, install IJulia via\n\n```julia\njulia\u003e import Pkg; Pkg.activate(); Pkg.add(\"IJulia\"); Pkg.build(\"IJulia\")\n```\n\n(IJulia is not required to run Julia Jupyter notebooks in Visual Studio Code.)\n\n\n## First steps in Julia\n\nNow press \"]\" to enter the Julia\n[package management console](https://docs.julialang.org/en/v1/stdlib/Pkg/)\nand add some Julia packages you need, like\n\n```\n(@v1.10) pkg\u003e add Plots\n```\n\n*Note: Later on, you will probably want to\n[use](https://pkgdocs.julialang.org/v1/environments/) separate Julia\n[project environments](https://docs.julialang.org/en/v1/manual/code-loading/#Project-environments)\nfor different use cases, instead of adding all packages you may possibly need\nto your default environment. Julia project environments are lightweight\n(different from Python virtual environments) and easy to manage.*\n\nPress backspace or Ctrl+C to get back to the main Julia REPL. Test if you can\n[make a plot](https://docs.juliaplots.org/stable/):\n\n```julia\nusing Plots\nplot(rand(100))\n```\n\nYou should be all set now,\n[have fun with Julia](https://julialang.org/learning/)!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foschulz%2Fjulia-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foschulz%2Fjulia-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foschulz%2Fjulia-setup/lists"}