All official Julia binaries produce portable installations. Once installed, the directory in which Julia was installed can be moved to a different location on the same computer, or even to a different computer.
Julia is available for Windows 7 and later, both 32 bit and 64 bit.
juliain the command line, or paste the entire path you saved in the Notepad. To invoke Julia by simply typing
juliain the command line, perform the following steps.
If on Windows 10,
sysdm.cpland hit enter. This will open up the System Properties. Click on the “Advanced” tab.
Else, if on Windows 7 or 8,
sysdm.cpland hit enter. This will open up the System Properties.
Windows 7 / Windows Server 2012 users will also need to install:
It is recommended that users on these legacy Windows systems install and use a terminal besides
cmd.exe since the default terminal application has known issues which affect its usability with Julia and other libuv-based cross-platform software.
Uninstallation is performed by using the Windows uninstaller (or deleting the extracted directory). The packages directory in
%HOME%/.julia can be deleted if you would no longer like to retain the user installed packages. If you would also like to remove your preferences files, remove
On macOS, a
Julia-<version>.dmg file is provided, which contains
Julia-<version>.app. Installation is the same as any other Mac software. Drag the
Julia-<version>.app to Applications Folder’s Shortcut. You can also run Julia from the disk image by opening the app. Julia runs on macOS 10.8 and later releases.
To start running Julia from the Terminal, you can add
julia to the PATH. First, open up the Terminal and determine whether you are using
bash as your Terminal shell.
If you are using
zsh, type the following in the Terminal:
open -a TextEdit ~/.zshrc
If you are using
bash, type the following in the Terminal:
open -a TextEdit ~/.bash_profile
The commands above should open up a shell profile page in a GUI text editor.
Now, for both
bash users, you can add the following to the bottom of the profile page:
Remember to replace the version of
Julia-<version>.app above with the version of your Julia app. Once that is done, you can close the shell profile page and quit Terminal. Now, just simply open Terminal again, type in
julia in it, and it should run your version of Julia!
You can uninstall Julia by deleting Julia.app and the packages directory in
~/.julia. Multiple Julia.app binaries can co-exist without interfering with each other. If you would also like to remove your preferences files, remove
It is strongly recommended that the official generic binaries from the downloads page be used to install Julia on Linux and FreeBSD.
The generic Linux and FreeBSD binaries do not require any special installation steps, but you will need to ensure that your system can find the
First, download the
.tar.gz file from the downloads page. You need to extract this file to a suitable location. To extract the file, you can use the following command:
tar -xvzf julia-x.y.z-linux-x86_64.tar.gz
This will extract the files to a folder named
julia-x.y.z. We would refer this as
<Julia directory>. To run Julia, you can do any of the following:
juliainside a folder which is on your system
binfolder to your system
juliaexecutable by using its full path, as in
To add Julia’s
bin folder to
PATH environment variable, you can edit the
~/.bashrc file. Open the file in your favourite editor and add a new line as follows:
Apart from this, there are several ways through which you can change environment variable. You can follow this guide to find out a way convenient for you.
Julia installs all its files in a single directory. Deleting the directory where Julia was installed is sufficient. If you would also like to remove your packages, remove
~/.julia. The startup file is at
~/.juliarc.jl and the history at
The following distribution-specific packages are community contributed. They may not use the right versions of Julia dependencies or include important patches that the official binaries ship with. In general, bug reports will only be accepted if they are reproducible on the official generic binaries on the downloads page.
If you use Chocolatey for package management, you can install the latest Julia release by executing the following one-liner, in either a powershell or command prompt:
choco install julia –confirm
Chocolatey automatically creates a shim for the Julia executable, so you simply type
julia to run Julia in the terminal. When a new version is released simply execute
choco upgrade julia --confirm. If you want to uninstall Julia run
choco uninstall julia --confirm.
Julia can be installed using the Homebrew package manager as follows:
brew cask install julia
This automatically puts the binary into a directory in the user’s PATH, so you can simply type
julia to run Julia in the terminal.
A Copr repository is provided for Fedora, RHEL, CentOS, Scientific Linux and Oracle Enterprise Linux systems to allow for automatic updating to the latest stable version of Julia.
If you are using RHEL, CentOS, Scientific Linux or Oracle Enterprise Linux (version 5 or higher), first enable EPEL for your distribution version. Then follow the steps below.
If you are using Fedora (version 19 or higher), directly run:
sudo dnf copr enable nalimilan/julia sudo yum install julia
If you are using CentOS (version 7 or higher), directly run:
sudo yum-config-manager –add-repo https://copr.fedorainfracloud.org/coprs/nalimilan/julia/repo/epel-7/nalimilan-julia-epel-7.repo sudo yum install julia
yum-config-manager are not available for your distribution, download the relevant
.repo file from the Copr webpage, copy it to
/etc/yum.repos, and run the second command.
Note that Fedora guidelines advise against uploading new breaking releases to official repositories: therefore your distribution will not provide the new major versions of Julia which were published after it. When reporting issues, please ensure you are using the latest available release by using one of the Copr repositories displayed on this page. In order to use nightly Julia builds, replace
nalimilan/julia-nightlies in the instructions above. These can then be updated with
yum upgrade julia.
Recent Debian/ubuntu distributions include their own build of Julia, which can be installed in the usual way. If this is not the version of Julia you want, you will need to use the official binaries.
sudo apt install julia
Julia is available in the Ports Collection. To install from the FreeBSD binary package manager,
pkg install julia