# rust-script を Homebrew, apk, MacPorts, Nix, pacman, winget でインストール

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

## インストール

```sh
sudo av install brew:rust-script
```

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

### macOS

- Homebrew (100%):

```sh
brew install rust-script
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install rust-script
```

  証拠: MacPorts ports tree: lang/rust-script/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add rust-script
```

  証拠: Alpine Linux edge package indexes: rust-script from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#rust-script
```

  証拠: nixpkgs package indexes: pkgs/by-name/ru/rust-script/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S rust-script
```

  証拠: Arch Linux sync databases: rust-script from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- winget (92%):

```sh
winget install --id FredrikFornwall.Rust-Script -e
```

  証拠: Windows Package Manager source index: FredrikFornwall.Rust-Script from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:rust-script
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.36.0
- **ソース概要:** Run Rust files and expressions as scripts without any setup or compilation step
- **ホームページ:** <https://rust-script.org>
- **リポジトリ:** <https://github.com/fornwall/rust-script>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- rust-script (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.36.0

## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

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

- Nix - rust-script: normalized package name match | nixpkgs package indexes: pkgs/by-name/ru/rust-script/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - rust-script - 0.36.0-r0: normalized package name match | Alpine Linux edge package indexes: rust-script from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Run Rust files and expressions as scripts without any setup or compilation step | https://rust-script.org/
- pacman - rust-script - 0.36.0-2: normalized package name match | Arch Linux sync databases: rust-script from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Run Rust files and expressions as scripts without any setup or compilation | https://rust-script.org
- MacPorts - rust-script: normalized package name match | MacPorts ports tree: lang/rust-script/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - FredrikFornwall.Rust-Script: normalized package name match | Windows Package Manager source index: FredrikFornwall.Rust-Script from https://cdn.winget.microsoft.com/cache/source.msix


## 関連リンク

- [rust-script](https://pkg.so/ja/pkg/cargo/rust-script/) - Same normalized package name exists in another local package ecosystem.

## Combined YAML source

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


## ソース

- pkg.so package database
- Geiger risk classifier
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
