# Installer stlink avec Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt, scoop

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

## installation

```sh
sudo av install brew:stlink
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install stlink
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install stlink
```

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

### Linux

- apk (92%):

```sh
sudo apk add stlink
```

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

- dnf (92%):

```sh
sudo dnf install stlink
```

  Preuve: Fedora Rawhide package metadata: stlink 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#stlink
```

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

- pacman (92%):

```sh
sudo pacman -S stlink
```

  Preuve: Arch Linux sync databases: stlink from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install stlink
```

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

- Debian apt (92%):

```sh
sudo apt install libstlink-dev
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/stlink
```

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

## Faits du paquet

- **Clé du paquet:** brew:stlink
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.8.0
- **Résumé source:** STM32 discovery line Linux programmer
- **Page d'accueil:** <https://github.com/stlink-org/stlink>
- **Dépôt:** <https://github.com/stlink-org/stlink>
- **Dernière mise à jour:** 2026-07-13T17:31:48+09:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- st-flash (alias)
- st-info (alias)
- st-trace (alias)
- st-util (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

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

stlink is an open source command-line toolset for programming and debugging STM32 microcontrollers through ST-LINK adapters. It is important in package-manager culture because it gives Unix-like systems a readily installable path to flash and debug common embedded boards.

### Historique du projet

The official README describes stlink as an open source version of the STMicroelectronics STLINK tools and an open source toolset to program and debug STM32 devices and boards. The GitHub repository was created in 2011 and continues to track support for multiple ST-LINK hardware generations.

### Historique d'adoption

The project documents package-repository installation for Linux and Unix systems and lists Windows binaries on GitHub releases. The input package data shows distribution across Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Scoop, Ubuntu, and openSUSE-related package managers.

### Modes d'utilisation

The toolset includes st-info for programmer and chip information, st-flash for flash manipulation, st-trace for execution logging, st-util as a GDB server, a communication library, and an optional GUI. It supports STLINK/V1, V2, V2-1, and V3 families, including clones.

### Pourquoi les passionnés de paquets s'y intéressent

For package maintainers and embedded developers, stlink is a hardware-adjacent package where udev rules, libusb compatibility, OS support, and release packaging matter. It turns a common microcontroller workflow into standard package-manager install plus shell commands.

### Chronologie

- 2011: The stlink-org/stlink GitHub repository was created.
- 2019: The README marks STLINK/V1 obsolete as of 2019-11-21 while continuing support in the toolset.
- 2020: Release v1.6.1 restored standalone Windows binaries according to the README.
- 2024: Release v1.8.0 dropped macOS support according to the README and release notes.

### Related projects

- STMicroelectronics STM32 boards and ST-LINK adapters are the hardware target.
- GDB connects through st-util for debugging.
- Cortex-Debug is named by the README as a Visual Studio Code/VSCodium integration for st-util.

### Sources

- <https://api.github.com/repos/stlink-org/stlink>
- <https://github.com/stlink-org/stlink#readme>
- <https://github.com/stlink-org/stlink/releases>
- source_facts.package-manager


## 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 - libstlink-dev - 1.8.0-1.1: normalized package name match | Debian stable package indexes: libstlink-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | OpenSource ST-Link tools replacement. | https://github.com/stlink-org/stlink
- Debian apt - libstlink1 - 1.8.0-1.1: normalized package name match | Debian stable package indexes: libstlink1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | OpenSource ST-Link tools replacement. | https://github.com/stlink-org/stlink
- Debian apt - stlink-gui - 1.8.0-1.1: normalized package name match | Debian stable package indexes: stlink-gui from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | OpenSource ST-Link tools replacement. | https://github.com/stlink-org/stlink
- Debian apt - stlink-tools - 1.8.0-1.1: normalized package name match | Debian stable package indexes: stlink-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | OpenSource ST-Link tools replacement. | https://github.com/stlink-org/stlink
- Nix - stlink: normalized package name match | nixpkgs package indexes: pkgs/by-name/st/stlink/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libstlink-dev - 1.8.0-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libstlink-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | OpenSource ST-Link tools replacement. | https://github.com/stlink-org/stlink
- Ubuntu apt - libstlink1 - 1.8.0-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libstlink1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | OpenSource ST-Link tools replacement. | https://github.com/stlink-org/stlink
- Ubuntu apt - stlink-gui - 1.8.0-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: stlink-gui from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | OpenSource ST-Link tools replacement. | https://github.com/stlink-org/stlink
- Ubuntu apt - stlink-tools - 1.8.0-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: stlink-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | OpenSource ST-Link tools replacement. | https://github.com/stlink-org/stlink
- apk - stlink - 1.8.0-r1: normalized package name match | Alpine Linux edge package indexes: stlink from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | STM32 discovery line linux programmer | https://github.com/stlink-org/stlink
- apk - stlink-dev - 1.8.0-r1: normalized package name match | Alpine Linux edge package indexes: stlink-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | STM32 discovery line linux programmer (development files) | https://github.com/stlink-org/stlink
- apk - stlink-doc - 1.8.0-r1: normalized package name match | Alpine Linux edge package indexes: stlink-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | STM32 discovery line linux programmer (documentation) | https://github.com/stlink-org/stlink
- apk - stlink-udev - 1.8.0-r1: normalized package name match | Alpine Linux edge package indexes: stlink-udev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | STM32 discovery line linux programmer (udev rules) | https://github.com/stlink-org/stlink
- dnf - stlink - 1.8.0-12.fc45: normalized package name match | Fedora Rawhide package metadata: stlink from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | STM32 discovery line Linux programmer | https://github.com/stlink-org/stlink
- dnf - stlink-devel - 1.8.0-12.fc45: normalized package name match | Fedora Rawhide package metadata: stlink-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Include files and mandatory libraries for development | https://github.com/stlink-org/stlink
- dnf - stlink-gui - 1.8.0-12.fc45: normalized package name match | Fedora Rawhide package metadata: stlink-gui from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | GUI for STM32 discovery line linux programmer | https://github.com/stlink-org/stlink


## Combined YAML source

View the package source record on GitHub. [combined/stlink.yml](https://github.com/mxcl/pkgdb/blob/main/combined/stlink.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
