# rustup を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, chocolatey, winget でインストール

rustup のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install rustup
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install rustup
```

  証拠: 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
```

  証拠: 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 rustup
```

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

- dnf (92%):

```sh
sudo dnf install rustup
```

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

- Nix (92%):

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

  証拠: 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
```

  証拠: 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
```

  証拠: openSUSE Tumbleweed package metadata: rustup from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

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

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

- Chocolatey (92%):

```sh
choco install rust-analyzer
```

  証拠: Chocolatey community package catalog: rust-analyzer from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','revouninstallerpro'

- winget (92%):

```sh
winget install --id Rustlang.rust-analyzer -e
```

  証拠: Windows Package Manager source index: Rustlang.rust-analyzer from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:rustup
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/rustup>
- **バージョン:** 1.29.0
- **ソース概要:** Rust toolchain installer
- **ホームページ:** <https://rust-lang.github.io/rustup/>
- **リポジトリ:** <https://github.com/rust-lang/rustup>
- **上流ドキュメント:** <https://rust-lang.github.io/rustup/>
- **ライセンス:** Apache-2.0 OR MIT
- **ソースアーカイブ:** <https://github.com/rust-lang/rustup/archive/refs/tags/1.29.0.tar.gz>
- **最終更新:** 2026-07-21T12:31:20Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- cargo-miri (cli)
- rls (cli)
- rust-analyzer (cli)
- rustup (cli)
- cargo-miri (エイリアス)
- rls (エイリアス)
- rust-analyzer (エイリアス)
- rustup (エイリアス)

## ビルド依存関係

- rust

## macOS 提供ライブラリ

- curl
- xz

## インストール挙動

- post-install フック: 未定義
- 注意点: 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: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.29.0
- マネージャ更新日: 2026-07-21
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/rust-lang/rustup
- 検出された最新: 1.29.0 (最新)

## セキュリティノート

rustup に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ 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:** 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

## 他のパッケージマネージャ記録

- 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-6.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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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-5.2: normalized package name match | openSUSE Tumbleweed package metadata: rustup from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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
- MacPorts - rust-analyzer: installed executable or alias match | MacPorts ports tree: devel/rust-analyzer/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - rust-analyzer - 1.85.0+dfsg3-1: installed executable or alias match | Debian stable package indexes: rust-analyzer from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Rust Language Server Protocol (LSP) implementation | http://www.rust-lang.org/


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [elan-init](https://pkg.so/ja/brew/elan-init/) - Shares pkgdb curated category or tags: cli, installer, language-runtime, toolchain-manager.
- [rune](https://pkg.so/ja/brew/rune/) - Shares pkgdb curated category or tags: cli, language-runtime, rust.
- [erg](https://pkg.so/ja/brew/erg/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, rust.
- [three-body](https://pkg.so/ja/brew/three-body/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, rust.
- [go](https://pkg.so/ja/brew/go/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime.
- [gcc](https://pkg.so/ja/brew/gcc/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime.
- [openjdk](https://pkg.so/ja/brew/openjdk/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime.

## Combined YAML source

View the package source record on GitHub. [combined/rustup.yml](https://github.com/mxcl/pkgdb/blob/main/combined/rustup.yml)


## ソース

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