The jlenv-installer
script idempotently installs or updates jlenv on your
system. If Homebrew is detected, installation will proceed using brew install/upgrade
. Otherwise, jlenv is installed under ~/.jlenv
.
Additionally, julia-build is also
installed if jlenv install
is not already available.
# with curl
curl -fsSL https://github.com/jlenv/jlenv-installer/raw/master/bin/jlenv-installer | bash
# alternatively, with wget
wget -q https://github.com/jlenv/jlenv-installer/raw/master/bin/jlenv-installer -O- | bash
After the installation, a separate jlenv-doctor
script is run to verify the
success of the installation and to detect common issues. You can run
jlenv-doctor
on your machine separately to verify the state of your install:
# with curl
curl -fsSL https://github.com/jlenv/jlenv-installer/raw/master/bin/jlenv-doctor | bash
# alternatively, with wget
wget -q https://github.com/jlenv/jlenv-installer/raw/master/bin/jlenv-doctor -O- | bash