Skip to content

The rustup.sh script for installing Rust from release channels

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

vi/rustup

 
 

Repository files navigation

Build Status

The rustup.sh script installs Rust from the Rust release channels.

This script is most often run directly from the web.

curl -sf https://static.rust-lang.org/rustup.sh | sudo sh

Features:

  • Install from stable, beta, or nightly channels.
  • Install from the archives.
  • Verifies hashes.
  • Verifies signatures (if gpg is available).
  • Resumes downloads.
  • For Linux and OS X (Windows support someday).

Examples

Download and install the default channel, currently beta.

rustup.sh

Install to a particular location.

rustup.sh --prefix=my/install/dir

Save downloads for faster re-installs.

rustup.sh --save

Install nightly.

rustup.sh --channel=nightly

Install nightly archives.

rustup.sh --channel=nightly --date=2015-04-09

Install explicit versions.

rustup.sh --revision=1.0.0-beta

Future work

  • GC old temp and cache files.
  • Error on unknown command line options.
  • Do cleanup of in-use temp files on trap.
  • Don't clobber multirust if it is installed at the destination prefix.

License

This software is distributed under the terms of both the MIT license and/or the Apache License (Version 2.0), at your option.

See LICENSE-APACHE, LICENSE-MIT for details.

About

The rustup.sh script for installing Rust from release channels

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%