# Installer micropython avec Homebrew, apk, apt, dnf, MacPorts, Nix, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de micropython pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:micropython
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install micropython
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install micropython
```

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

### Linux

- apk (92%):

```sh
sudo apk add micropython
```

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

- Debian apt (92%):

```sh
sudo apt install micropython
```

  Preuve: Debian stable package indexes: micropython from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install micropython
```

  Preuve: Fedora Rawhide package metadata: micropython from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#micropython
```

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

- zypper (92%):

```sh
sudo zypper install micropython
```

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

## Faits du paquet

- **Clé du paquet:** brew:micropython
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.28.0
- **Résumé source:** Python implementation for microcontrollers and constrained systems
- **Page d'accueil:** <https://www.micropython.org/>
- **Dépôt:** <https://github.com/micropython/micropython>
- **Dernière mise à jour:** 2026-06-10T10:08:53Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- micropython (alias)
- mpy-cross (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.28.0
## Historique du projet et usages

MicroPython is Damien George's compact implementation of Python 3 for microcontrollers and constrained systems. George began the project in 2013 and funded it through a Kickstarter campaign for both the language runtime and the PyBoard reference board. Contemporary coverage described a from-scratch implementation with a parser, compiler, virtual machine, runtime system, garbage collector, and support for 32-bit ARM microcontrollers; the Python Software Foundation later noted that the campaign raised nearly GBP 100,000 and shipped MicroPython with the PyBoard.

### Historique du projet

The project became important because it moved Python-style interactive development onto devices that previously required C, Arduino-style sketches, or vendor SDKs. Users write scripts, interact with a REPL, and access low-level hardware modules for pins, buses, timers, filesystems, and networking. The `mpy-cross` executable in the package compiles MicroPython bytecode for deployment, while the `micropython` executable provides the Unix-hosted runtime useful for testing and scripting.

### Modes d'utilisation

MicroPython's ecosystem role widened as ports appeared for boards and chips such as STM32, ESP8266, ESP32, RP2040, Unix, Windows, Zephyr, and others. The BBC micro:bit effort and Adafruit's later CircuitPython fork helped spread the programming model into education and maker communities. In package-manager terms, MicroPython sits between a language runtime, embedded toolchain, and board firmware ecosystem.

### Sources

- <https://docs.micropython.org/>
- <https://formulae.brew.sh/formula/micropython>
- <https://github.com/micropython/micropython>
- <https://hackaday.com/2013/11/27/interview-with-damien-george-creator-of-the-micro-python-project/>
- <https://micropython.org/resources/micropython-ChangeLog.txt>
- <https://pyfound.blogspot.com/2016/03/genuinely-nice-chap-damien-george.html>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Debian apt - micropython - 1.25.0+ds-1: normalized package name match | Debian stable package indexes: micropython from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Unix/Linux port of MicroPython for board-independent use on the host | https://micropython.org/
- Debian apt - micropython-doc - 1.25.0+ds-1: normalized package name match | Debian stable package indexes: micropython-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Documentation and examples for MicroPython - HTML format | https://micropython.org/
- Nix - micropython: normalized package name match | nixpkgs package indexes: pkgs/by-name/mi/micropython/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - micropython - 1.22.1+ds-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: micropython from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Unix/Linux port of MicroPython for board-independent use on the host | https://micropython.org/
- Ubuntu apt - micropython-doc - 1.22.1+ds-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: micropython-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Documentation and examples for MicroPython - HTML format | https://micropython.org/
- apk - micropython - 1.28.0-r0: normalized package name match | Alpine Linux edge package indexes: micropython from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | lean and efficient Python implementation for MCUs and constrained systems | https://www.micropython.org/
- apk - micropython-cross - 1.28.0-r0: normalized package name match | Alpine Linux edge package indexes: micropython-cross from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Compile micropython code to bytecode, which can be transfered to MCUs | https://www.micropython.org/
- apk - micropython-doc - 1.28.0-r0: normalized package name match | Alpine Linux edge package indexes: micropython-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | lean and efficient Python implementation for MCUs and constrained systems (documentation) | https://www.micropython.org/
- dnf - micropython - 1.28.0-7.fc45: normalized package name match | Fedora Rawhide package metadata: micropython from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Implementation of Python 3 with very low memory footprint | http://micropython.org/
- dnf - micropython-tools - 1.28.0-7.fc45: normalized package name match | Fedora Rawhide package metadata: micropython-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | MicroPython device tools and utilities | http://micropython.org/
- dnf - mpy-cross - 1.28.0-7.fc45: normalized package name match | Fedora Rawhide package metadata: mpy-cross from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | MicroPython cross-compiler | http://micropython.org/
- zypper - micropython - 1.28.0-2.3: normalized package name match | openSUSE Tumbleweed package metadata: micropython from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Implementation of Python 3 with very low memory footprint | https://micropython.org/
- 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/
- zypper - mpy-tools - 1.28.0-2.3: normalized package name match | openSUSE Tumbleweed package metadata: mpy-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Tools for creating and handling precompiled .mpy files for MicroPython | https://micropython.org/
- MacPorts - micropython: normalized package name match | MacPorts ports tree: devel/micropython/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## Sources

- 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
