A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://rust-lang.github.io/rustup/installation/other.html below:

Other installation methods - The rustup book

Other installation methods

The primary installation method, as described at https://rustup.rs, differs by platform:

rustup-init accepts arguments, which can be passed through the shell script. Some examples:

$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --help
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --no-modify-path
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain nightly
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile minimal --default-toolchain nightly
Using a package manager

Please note that the rustup project is not maintaining any package mentioned in this section. If you have encountered any problems installing rustup with a package manager, please contact the package maintainer(s) for further information.

General tips

Different package managers take slightly different approaches towards managing rustup. After installing rustup with your favorite package manager, there are usually two possibilities:

When the installation is completed, please make sure that the rustup proxies (usually under $HOME/.cargo/bin) are correctly exposed via your $PATH, and you should be able to run rustup, rustc, cargo, etc. normally.

APT

Starting from Debian 13 (trixie) and Ubuntu 24.04 (noble), you may use apt to install rustup:

$ sudo apt install rustup
Homebrew

You can use brew to install rustup1:

$ brew install rustup

Please note that Rust tools like rustc and cargo are not available via $PATH by default in this rustup distribution (see homebrew-core#177582 for more details). You might want to add $(brew --prefix rustup)/bin to $PATH to make them easier to access.

Manual installation

You can manually download rustup-init for a given target from https://static.rust-lang.org/rustup/dist/{target-triple}/rustup-init[.exe]2 3.

Direct links

To get a previous version, use https://static.rust-lang.org/rustup/archive/{rustup-version}/{target-triple}/rustup-init[.exe].

SHA-256 checksums are also available by appending .sha256 to the link.

Self-compiled installation

To install rustup from source, check out the git repository from https://github.com/rust-lang/rustup and run cargo run --release. Note that after installation the rustup toolchains will supersede any pre-existing toolchains by prepending ~/.cargo/bin to the PATH environment variable.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4