# stlink を Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt, scoop でインストール

stlink のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install stlink
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install stlink
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:stlink
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.8.0
- **ソース概要:** STM32 discovery line Linux programmer
- **ホームページ:** <https://github.com/stlink-org/stlink>
- **リポジトリ:** <https://github.com/stlink-org/stlink>
- **最終更新:** 2026-07-13T17:31:48+09:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- st-flash (エイリアス)
- st-info (エイリアス)
- st-trace (エイリアス)
- st-util (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.8.0
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

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


## ソース

- 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
