GithubHelp home page GithubHelp logo

tedbyron / juliaup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from julialang/juliaup

0.0 1.0 0.0 1.68 MB

Julia installer and version multiplexer

License: MIT License

PowerShell 1.08% Rust 82.38% Batchfile 4.02% Shell 12.52%

juliaup's Introduction

Juliaup - Julia version manager

This repository contains a cross-platform installer for the Julia programming language.

The installer also bundles a full Julia version manager called juliaup. One can use juliaup to install specific Julia versions, it alerts users when new Julia versions are released and provides a convenient Julia release channel abstraction.

Status

The Windows version of this installer is considered production ready. The Linux and Mac versions are prerelease versions that should not be used in production environments.

Installation

On all platforms it is recommended that you first uninstall any previous Julia versions and undo any modifications you might have made to put julia on the PATH before you install Julia with the installer in this repository.

Windows

On Windows Julia and Juliaup can be installed directly from the Windows store here. One can also install exactly the same version by executing

winget install julia -s msstore

on a command line.

Mac and Linux

A prerelease version of the installer can be installed on Linux or Mac by executing

curl -fsSL https://install.julialang.org | sh

in a shell.

Alternatively, Homebrew users can run

brew install juliaup

in a shell.

Note that the Mac and Linux version are considered prerelease, have known bugs and might often break.

Arch Linux

On Arch Linux, Juliaup is available in the Arch User Repository (AUR).

Using Juliaup

Once you have installed Juliaup, julia is on the PATH, and on Windows there is a start menu shortcut and it will show up as a profile in Windows Terminal. Any of those will start Julia. The VS Code extension will also automatically find this Julia installation.

Here are some of the things you can do with juliaup:

  • juliaup update installs the latest availabe Julia version for all your channels.
  • juliaup update release updates the release channel to the latest version.
  • juliaup status shows you which Julia versions you have installed and which one is configured as the default.
  • juliaup add 1.5.1 adds Julia 1.5.1 to your system (it can then be launched via the command julia +1.5.1).
  • juliaup default 1.5.3 configures the julia command to start Julia 1.5.3.
  • juliaup default 1.6 configures the julia command to start the latest 1.6.x version of Julia you have installed on your system (and inform you if there is a newer version in 1.6.x available).
  • juliaup default release configures the julia command to start the latest stable version of Julia (this is also the default value).
  • juliaup remove 1.5.3 deletes Julia 1.5.3 from your system.
  • juliaup add 1.6.1~x86 installs the 32 bit version of Julia 1.6.1 on your system.
  • juliaup default 1.6~x86 configures the julia command to start the latest 1.6.x 32 bit version of Julia you have installed on your system.
  • juliaup link dev ~/juliasrc/julia configures the dev channel to use a binary that you provide that is located at ~/juliasrc/julia. You can then use dev as if it was a system provided channel, i.e. make it the default or use it with the + version selector. You can use other names than dev and link as many versions into juliaup as you want.
  • juliaup shows you what other commands are available.

To launch the Julia version in channel release, run julia +release in your terminal.

The available system provided channels are:

  • release: always points to the latest stable version.
  • lts: always points to the latest long term supported version.
  • beta: always points to the latest beta version if one exists. If a newer release candidate exists, it will point to that, and if there is neither a beta or rc candidate available it will point to the same version as the release channel.
  • rc: same as beta, but only starts with release candidate versions.
  • specific versions, e.g. 1.5.4.
  • minor version channels, e.g. 1.5.
  • major version channels, e.g. 1.

All of these channels can be combined with the ~x86, ~x64 or ~aarch64 suffix to download a specific platform version.

Juliaup server

Juliaup by default downloads julia binary tarballs from the official server "https://julialang-s3.julialang.org". If requested, the environment variable JULIAUP_SERVER can be used to tell Juliaup to use a third-party mirror server.

More information

This JuliaCon 2021 talk is a short introduction to Juliaup. Note that the video was recorded before the Linux and Mac versions were finished, but all the information about juliaup itself applies equally on Linux and Mac.

juliaup's People

Contributors

carlocab avatar davidanthoff avatar heetbeet avatar johnnychen94 avatar kristofferc avatar kronosthelate avatar piever avatar simeonschaub avatar t-bltg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.