# Install rustup with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, zypper

Rust toolchain installer. Version 1.29.0 via Homebrew; verified 2026-07-06.

## Install

```sh
sudo av install brew:rustup
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install rustup
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install rustup
```

  Evidence: MacPorts ports tree: devel/rustup/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add rustup
```

  Evidence: Alpine Linux edge package indexes: rustup from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install librust-rustup-dev
```

  Evidence: Debian stable package indexes: librust-rustup-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install rustup
```

  Evidence: Fedora Rawhide package metadata: rustup from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#rustup
```

  Evidence: nixpkgs package indexes: rustup from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S rustup
```

  Evidence: Arch Linux sync databases: rustup from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install rustup
```

  Evidence: openSUSE Tumbleweed package metadata: rustup from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/rustup
```

  Evidence: Scoop official bucket manifest trees: bucket/rustup.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:rustup
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/rustup>
- **Version:** 1.29.0
- **Source summary:** Rust toolchain installer
- **Homepage:** <https://rust-lang.github.io/rustup/>
- **Repository:** <https://github.com/rust-lang/rustup>
- **Upstream docs:** <https://github.com/rust-lang/rustup#readme>
- **License:** Apache-2.0 OR MIT
- **Source archive:** <https://github.com/rust-lang/rustup/archive/refs/tags/1.29.0.tar.gz>
- **Last updated:** 2026-07-06T09:06:52-04:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- cargo-miri (cli)
- rls (cli)
- rustup (cli)
- cargo-miri (alias)
- rls (alias)
- rustup (alias)

## Build dependencies

- rust

## Uses from macOS

- curl
- xz

## Install behavior

- Post-install hook: defined
- Caveats: To use rustup, ensure you have "$(brew --prefix rustup)/bin" in your $PATH: https://rust-lang.github.io/rustup/installation/already-installed-rust.html This formula no longer provides `rustup-init`.
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.29.0
- Package-manager updated: 2026-07-06
- Local data: ok
- Upstream repository: https://github.com/rust-lang/rustup
- Upstream latest detected: 1.29.0 (current)

## Security Notes

No matching local secret-handling manifest was found for rustup. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ${RUSTUP_HOME}/settings.toml, /etc/rustup/settings.toml
- Windows: %USERPROFILE%\.rustup\settings.toml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** rustup
- **Version Scheme:** 0
- **Revision:** 2
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** yes
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - librust-rustup-dev - 1.27.1-3+b1: normalized package name match | Debian stable package indexes: librust-rustup-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Manage multiple rust installations with ease - Rust source code | https://github.com/rust-lang/rustup
- Debian apt - rustup - 1.27.1-3+b1: normalized package name match | Debian stable package indexes: rustup from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Rust toolchain installer | https://github.com/rust-lang/rustup
- Nix - rustup: normalized package name match | nixpkgs package indexes: rustup from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - librust-rustup-dev - 1.26.0-5build1: normalized package name match | Ubuntu 24.04 LTS package indexes: librust-rustup-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Manage multiple rust installations with ease - Rust source code | https://github.com/rust-lang/rustup
- Ubuntu apt - rustup - 1.26.0-5build1: normalized package name match | Ubuntu 24.04 LTS package indexes: rustup from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | The Rust toolchain installer | https://github.com/rust-lang/rustup
- apk - rustup - 1.29.0-r0: normalized package name match | Alpine Linux edge package indexes: rustup from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Rust toolchain installer | https://rustup.rs/
- apk - rustup-bash-completion - 1.29.0-r0: normalized package name match | Alpine Linux edge package indexes: rustup-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for rustup | https://rustup.rs/
- apk - rustup-fish-completion - 1.29.0-r0: normalized package name match | Alpine Linux edge package indexes: rustup-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for rustup | https://rustup.rs/
- apk - rustup-zsh-completion - 1.29.0-r0: normalized package name match | Alpine Linux edge package indexes: rustup-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for rustup | https://rustup.rs/
- dnf - rustup - 1.29.0-4.fc45: normalized package name match | Fedora Rawhide package metadata: rustup from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Manage multiple rust installations with ease | https://github.com/rust-lang/rustup
- pacman - rustup - 1.29.0-2: normalized package name match | Arch Linux sync databases: rustup from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The Rust toolchain installer | https://github.com/rust-lang/rustup.rs
- zypper - rustup - 1.28.2~0-3.4: normalized package name match | openSUSE Tumbleweed package metadata: rustup from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A tool for managing user Rust toolchains | https://github.com/rust-lang/rustup
- MacPorts - rustup: normalized package name match | MacPorts ports tree: devel/rustup/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/rustup: normalized package name match | Scoop official bucket manifest trees: bucket/rustup.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [tinysearch](https://www.automicvault.com/pkg/brew/tinysearch/) - Popular package that depends on this formula.
- [wasm-pack](https://www.automicvault.com/pkg/brew/wasm-pack/) - Popular package that depends on this formula.
- [elan-init](https://www.automicvault.com/pkg/brew/elan-init/) - Shares av.db curated category or tags: cli, installer, language-runtime, toolchain-manager.
- [rune](https://www.automicvault.com/pkg/brew/rune/) - Shares av.db curated category or tags: cli, language-runtime, rust.
- [erg](https://www.automicvault.com/pkg/brew/erg/) - Shares av.db curated category or tags: cli, compiler, language-runtime, rust.
- [three-body](https://www.automicvault.com/pkg/brew/three-body/) - Shares av.db curated category or tags: cli, compiler, language-runtime, rust.
- [abcl](https://www.automicvault.com/pkg/brew/abcl/) - Shares av.db curated category or tags: cli, compiler, language-runtime.
- [algol68g](https://www.automicvault.com/pkg/brew/algol68g/) - Shares av.db curated category or tags: cli, compiler, language-runtime.
- [ats2-postiats](https://www.automicvault.com/pkg/brew/ats2-postiats/) - Shares av.db curated category or tags: cli, compiler, language-runtime.

## Combined YAML source

View the package source record on GitHub. [combined/rustup.yml](https://github.com/automic-vault/db/blob/main/combined/rustup.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
