# 使用 Homebrew, Nix, zypper 安装 mpremote

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

## 安装

```sh
sudo av install brew:mpremote
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mpremote
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mpremote
```

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

- zypper (92%):

```sh
sudo zypper install mpremote
```

  证据: openSUSE Tumbleweed package metadata: mpremote from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:mpremote
- **软件包管理器:** Homebrew
- **版本:** 1.28.0
- **来源摘要:** Tool for interacting remotely with MicroPython devices
- **主页:** <https://docs.micropython.org/en/latest/reference/mpremote.html>
- **最后更新:** 2026-06-10T10:08:53Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mpremote (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

mpremote is the MicroPython project's command-line remote-control tool for boards and other devices that expose a MicroPython REPL over serial. It entered the MicroPython tree as part of the v1.16 release, whose release notes list a new CLI utility to interact with a remote device. The official documentation presents it as an integrated utility for device interaction, filesystem management, and automation over a serial connection, installed with pip or pipx.

### 项目历史

mpremote grew out of the older pyboard.py workflow. The pyboard.py documentation describes a standalone Python tool for running commands and scripts on MicroPython devices and accessing their filesystems; a MicroPython maintainer later explained that mpremote uses pyboard.py to provide a more complete command-line interface. That ancestry explains mpremote's practical shape: it keeps the quick edit-run loop of pyboard.py, but adds command sequencing, auto connection, soft reset behavior, filesystem subcommands, package installation via mip, local-directory mounting, REPL access, and shortcuts for common serial devices.

### 使用方式

In the MicroPython ecosystem, mpremote is the general-purpose desktop sidekick for embedded development. Users run it to open a REPL, copy main.py to a board, execute a local script directly from RAM, inspect free space, install micropython-lib packages, mount a host directory as /remote, reset a device, or automate several of those steps in one command line. Package-manager entries such as Homebrew wrap the same Python tool for developers who prefer system packages over pipx.

### 来源

- <https://docs.micropython.org/en/latest/reference/mpremote.html>
- <https://docs.micropython.org/en/latest/reference/pyboard.py.html>
- <https://github.com/micropython/micropython/releases/tag/v1.16>
- <https://github.com/orgs/micropython/discussions/10282>
- <https://pypi.org/project/mpremote/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Nix - mpremote: normalized package name match | nixpkgs package indexes: pkgs/by-name/mp/mpremote/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - mpremote - 1.28.0-2.3: normalized package name match | openSUSE Tumbleweed package metadata: mpremote from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | MicroPython remote control | https://micropython.org/


## Combined YAML source

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


## 来源

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