# 使用 Homebrew, apk, chocolatey, MacPorts, Nix, pacman, scoop, winget 安装 mise

查看 mise 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:mise
```

## 代理安全回答

mise manages language runtimes and can execute project toolchain hooks.

- **凭据访问:** Reads project config, environment variables, and tool-specific credentials.
- **远程变更:** Can install runtimes and run configured tasks that call remote systems.
- **发布/制品风险:** Can drive build and release commands through tasks.
- **推荐控制:** Gate task execution, plugin installs, and secret-backed commands.
- **代理使用指南:** Allow version inspection; require approval for task runs that publish, deploy, or install plugins.

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mise
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mise
```

  证据: MacPorts ports tree: sysutils/mise/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add mise
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#mise
```

  证据: nixpkgs package indexes: pkgs/by-name/mi/mise/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S mise
```

  证据: Arch Linux sync databases: mise from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Chocolatey (92%):

```sh
choco install mise
```

  证据: Chocolatey community package catalog: mise from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','microsoft-windows-terminal'

- Scoop (92%):

```sh
scoop install main/mise
```

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

- winget (92%):

```sh
winget install --id jdx.mise -e
```

  证据: Windows Package Manager source index: jdx.mise from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:mise
- **软件包管理器:** Homebrew
- **版本:** 2026.8.0
- **来源摘要:** Polyglot runtime manager (asdf rust clone)
- **主页:** <https://mise.jdx.dev/>
- **仓库:** <https://github.com/jdx/mise>
- **最后更新:** 2026-08-01T21:49:01Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mise (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2026.8.0
## 项目历史与用法

mise is a Rust-based developer-environment manager by jdx that grew out of the earlier rtx project. The project's documentation says rtx was renamed to mise to avoid confusion with Nvidia's RTX graphics branding and to make the CLI easier to search for and discuss. Its Homebrew description still captures that origin by calling it a polyglot runtime manager and an asdf Rust clone, while the project README frames the broader scope as dev tools, environment variables, and tasks in one CLI.

### 项目历史

Technically, mise started in the same problem space as asdf, pyenv, nvm, and direnv: keeping per-project tool versions and environment setup reproducible. It kept compatibility hooks that mattered to asdf users, including .tool-versions files and asdf plugins, but expanded into multiple installation backends such as npm, pipx, core, aqua, and GitHub releases. The documentation emphasizes real executable paths on PATH, optional shell activation, shims for CI and IDE use, and a mise.toml file that can hold tool versions, environment variables, and task definitions together.

### 使用方式

In practice, developers use mise to install and switch between runtimes like Node.js, Python, Ruby, Go, Terraform, CMake, and many other CLIs, then run project tasks under the same resolved environment. Its package-manager niche is broader than a language-specific version manager and more integrated than a plain task runner: it is installed by Homebrew and other package managers as a single CLI that coordinates tool acquisition, directory-aware environment loading, and repeatable project commands.

### 来源

- <https://formulae.brew.sh/formula/mise>
- <https://github.com/jdx/mise>
- <https://mise.jdx.dev/dev-tools/comparison-to-asdf.html>
- <https://mise.jdx.dev/getting-started.html>
- <https://mise.jdx.dev/rtx.html>


## 安全说明

runtime and toolchain version manager.

- **Geiger 风险:** orange / 高
- runtime and toolchain version manager
- **审批门规则:** 6


## 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: mise.local.toml, mise.toml, mise/config.toml, .mise/config.toml, .config/mise.toml, .config/mise/config.toml, .config/mise/conf.d/*.toml, ~/.config/mise/config.toml
## 其他软件包管理器记录

- Nix - mise: normalized package name match | nixpkgs package indexes: pkgs/by-name/mi/mise/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - mise - 2026.7.12-r0: normalized package name match | Alpine Linux edge package indexes: mise from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Polyglot runtime and dev tool version manager | https://mise.jdx.dev/
- apk - mise-doc - 2026.7.12-r0: normalized package name match | Alpine Linux edge package indexes: mise-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Polyglot runtime and dev tool version manager (documentation) | https://mise.jdx.dev/
- pacman - mise - 2026.7.17-1: normalized package name match | Arch Linux sync databases: mise from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The front-end to your dev env | https://github.com/jdx/mise
- MacPorts - mise: normalized package name match | MacPorts ports tree: sysutils/mise/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - mise: normalized package name match | Chocolatey community package catalog: mise from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','microsoft-windows-terminal'
- Scoop - main/mise: normalized package name match | Scoop official bucket manifest trees: bucket/mise.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - jdx.mise: normalized package name match | Windows Package Manager source index: jdx.mise from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- approval-gate seed metadata
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
- curated agent safety answer
