# stlink mit Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt, scoop installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für stlink in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install stlink
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install stlink
```

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

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

  Evidenz: Fedora Rawhide package metadata: stlink from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#stlink
```

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

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

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

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

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

## Paketfakten

- **Paketschlüssel:** brew:stlink
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/stlink>
- **Version:** 1.8.0
- **Quellzusammenfassung:** STM32 discovery line Linux programmer
- **Homepage:** <https://github.com/stlink-org/stlink>
- **Repository:** <https://github.com/stlink-org/stlink>
- **Lizenz:** BSD-3-Clause
- **Quellarchiv:** <https://github.com/stlink-org/stlink/archive/refs/tags/v1.8.0.tar.gz>
- **Zuletzt aktualisiert:** 2026-07-13T17:31:48+09:00
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- st-flash (cli)
- st-info (cli)
- st-trace (cli)
- st-util (cli)
- st-flash (Alias)
- st-info (Alias)
- st-trace (Alias)
- st-util (Alias)

## Abhängigkeiten

- libusb

## Build-Abhängigkeiten

- cmake
- pkgconf

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 1.8.0
- Manager aktualisiert: 2026-07-13
- lokale Daten: OK
- Upstream-Repository: https://github.com/stlink-org/stlink
- neueste erkannte Version: v1.8.0 (aktuell)
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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.

### Quellen

- <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


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Details aus der Quelldatenbank

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

## Andere Paketmanager-Einträge

- 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | GUI for STM32 discovery line linux programmer | https://github.com/stlink-org/stlink


## Verwandte Links

- [Source-control packages](https://pkg.so/de/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/de/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/de/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [pkgconf](https://pkg.so/de/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cmake](https://pkg.so/de/brew/cmake/) - Build dependency declared by Homebrew.
- [stm32flash](https://pkg.so/de/brew/stm32flash/) - Shares pkgdb curated category or tags: cli, developer-tools, embedded, firmware-flashing, stm32.
- [open-ocd](https://pkg.so/de/brew/open-ocd/) - Shares pkgdb curated category or tags: cli, debugging, developer-tools, embedded.
- [probe-rs-tools](https://pkg.so/de/brew/probe-rs-tools/) - Shares pkgdb curated category or tags: cli, debugging, developer-tools, embedded.
- [ufbt](https://pkg.so/de/brew/ufbt/) - Shares pkgdb curated category or tags: cli, debugging, developer-tools, embedded.
- [gpsim](https://pkg.so/de/brew/gpsim/) - Shares pkgdb curated category or tags: cli, debugging, developer-tools, embedded.
- [elfutils](https://pkg.so/de/brew/elfutils/) - Shares pkgdb curated category or tags: cli, debugging, developer-tools.
- [dtc](https://pkg.so/de/brew/dtc/) - Shares pkgdb curated category or tags: cli, developer-tools, embedded.
- [dwarfutils](https://pkg.so/de/brew/dwarfutils/) - Shares pkgdb curated category or tags: cli, debugging, developer-tools.
- [lm4tools](https://pkg.so/de/brew/lm4tools/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, embedded, flashing.
- [orbuculum](https://pkg.so/de/brew/orbuculum/) - Local package facts share a topical domain. Shared terms: cli, debugging, developer, developer-tools, embedded.
- [picotool](https://pkg.so/de/brew/picotool/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, embedded, libusb.

## Combined YAML source

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


## Quellen

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