# Install micropython with Homebrew, apk, apt, dnf, MacPorts, Nix, zypper

Python implementation for microcontrollers and constrained systems. Version 1.28.0 via Homebrew; verified 2026-06-10.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install micropython
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install micropython
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

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

- Nix (92%):

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

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:micropython
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/micropython>
- **Version:** 1.28.0
- **Source summary:** Python implementation for microcontrollers and constrained systems
- **Homepage:** <https://www.micropython.org/>
- **Repository:** <https://github.com/micropython/micropython>
- **Upstream docs:** <https://docs.micropython.org/>
- **License:** MIT
- **Source archive:** <https://github.com/micropython/micropython/releases/download/v1.28.0/micropython-1.28.0.tar.xz>
- **Last updated:** 2026-06-10T10:08:53Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

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

## Build dependencies

- pkgconf

## Uses from macOS

- libffi
- python

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.28.0
- Package-manager updated: 2026-06-10
- Local data: ok
- Upstream repository: https://github.com/micropython/micropython
- info: No cached GitHub release or tag data was available.
## Project history and usage

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.

### Project history

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.

### How it is used

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>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** micropython
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- 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-3.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Implementation of Python 3 with very low memory footprint | http://micropython.org/
- dnf - micropython-tools - 1.28.0-3.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | MicroPython device tools and utilities | http://micropython.org/
- dnf - mpy-cross - 1.28.0-3.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | MicroPython cross-compiler | http://micropython.org/
- zypper - micropython - 1.28.0-2.1: normalized package name match | openSUSE Tumbleweed package metadata: micropython from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Implementation of Python 3 with very low memory footprint | https://micropython.org/
- zypper - mpremote - 1.28.0-2.1: normalized package name match | openSUSE Tumbleweed package metadata: mpremote from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | MicroPython remote control | https://micropython.org/
- zypper - mpy-tools - 1.28.0-2.1: normalized package name match | openSUSE Tumbleweed package metadata: mpy-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [pypy](https://www.automicvault.com/pkg/brew/pypy/) - Shares av.db curated category or tags: cli, language-runtime, python, runtime.
- [pypy3.10](https://www.automicvault.com/pkg/brew/pypy3-10/) - Shares av.db curated category or tags: cli, language-runtime, python, runtime.
- [python-freethreading](https://www.automicvault.com/pkg/brew/python-freethreading/) - Shares av.db curated category or tags: cli, language-runtime, python, runtime.
- [jython](https://www.automicvault.com/pkg/brew/jython/) - Shares av.db curated category or tags: cli, language-runtime, python.
- [picoruby](https://www.automicvault.com/pkg/brew/picoruby/) - Shares av.db curated category or tags: cli, embedded, language-runtime, microcontrollers, runtime.
- [virtualenv](https://www.automicvault.com/pkg/brew/virtualenv/) - Shares av.db curated category or tags: cli, language-runtime, python.
- [wasm-micro-runtime](https://www.automicvault.com/pkg/brew/wasm-micro-runtime/) - Shares av.db curated category or tags: cli, embedded, language-runtime, runtime.
- [bigloo](https://www.automicvault.com/pkg/brew/bigloo/) - Shares av.db curated category or tags: cli, language-runtime, runtime.

## Combined YAML source

View the package source record on GitHub. [combined/micropython.yml](https://github.com/automic-vault/db/blob/main/combined/micropython.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
