# jwt-cli mit Homebrew, apk, MacPorts, Nix, pacman, scoop, apt installieren

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

## Installation

```sh
sudo av install brew:jwt-cli
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install jwt-cli
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install jwt-cli
```

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

### Linux

- apk (92%):

```sh
sudo apk add jwt-cli
```

  Evidenz: Alpine Linux edge package indexes: jwt-cli from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#jwt-cli
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/jw/jwt-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S jwt-cli
```

  Evidenz: Arch Linux sync databases: jwt-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install jwt
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/jwt-cli
```

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

## Paketfakten

- **Paketschlüssel:** brew:jwt-cli
- **Paketmanager:** Homebrew
- **Version:** 6.2.0
- **Quellzusammenfassung:** Super fast CLI tool to decode and encode JWTs built in Rust
- **Homepage:** <https://github.com/mike-engel/jwt-cli>
- **Repository:** <https://github.com/mike-engel/jwt-cli>
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- jwt (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 6.2.0
## Projektgeschichte und Nutzung

jwt-cli is a Rust command-line utility for decoding, verifying, and encoding JSON Web Tokens. It became a common package-manager answer to the everyday developer need to inspect opaque bearer tokens from a shell pipeline.

### Projektgeschichte

Mike Engel released jwt-cli publicly in March 2017, with GitHub release metadata showing 0.1.0 as an initial prerelease on March 6, 2017. The README frames the tool around two goals: decoding JWT headers and claims like other JWT CLIs, and encoding new JWTs with flexible headers, claims, and secrets.

The project evolved with the Rust JWT ecosystem. Its changelog records a move to the `jsonwebtoken` crate in 0.3.0, JSON output in 2.1.0, stdin support in 2.4.0, ECDSA support in 2.5.0, PEM support through `jsonwebtoken` 7 in 3.0.0, stricter expiration handling and file secrets in 5.0.0, EdDSA and output-file support in 6.0.0, and JWKS support in 6.1.0.

### Adoptionsgeschichte

The tool spread through several package ecosystems because JWT inspection is a cross-platform developer workflow. The README documents installation through Homebrew, MacPorts, Cargo, FreeBSD ports, Scoop, and Arch Linux, and the Homebrew formula also records package-manager distribution under the `jwt-cli` formula.

### Wie es verwendet wird

jwt-cli is used in two main ways: as an interactive command such as `jwt decode TOKEN`, and as a pipeline component, for example extracting an access token with `curl` and `jq` and piping it into `jwt decode -`. Encoding support lets developers create test tokens without reaching for a web UI.

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

Its significance is package-manager convenience: JWTs are everywhere in web auth, and a small static-ish Rust CLI with shell completion, stdin behavior, and broad OS packaging is exactly the kind of utility users expect to install with one command.

### Zeitleiste

- 2017-03-06: 0.1.0 initial prerelease published.
- 2018-09-24: 2.1.0 adds JSON output for piping into tools such as `jq`.
- 2019-04-19: 2.4.0 adds stdin support for encode and decode.
- 2021-11-14: 5.0.0 adds file secrets and stricter expiration validation.
- 2023-06-22: 6.0.0 adds EdDSA support and output-file support.
- 2024-05-27: 6.1.0 adds JWKS support and shell completion.

### Related projects

- jwt-cli sits alongside browser tools such as JWT.io, security-focused JWT tooling such as jwt-hack, and the Rust `jsonwebtoken` crate used internally for token operations.

### Quellen

- <https://crates.io/crates/jwt-cli>
- <https://github.com/mike-engel/jwt-cli>
- <https://github.com/mike-engel/jwt-cli/blob/main/CHANGELOG.md>
- <https://github.com/mike-engel/jwt-cli/releases>
- <https://www.rfc-editor.org/rfc/rfc7519>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

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

## Andere Paketmanager-Einträge

- Nix - jwt-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/jw/jwt-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - jwt-cli - 6.2.0-r0: normalized package name match | Alpine Linux edge package indexes: jwt-cli from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Super fast CLI tool to decode and encode JWTs | https://github.com/mike-engel/jwt-cli
- pacman - jwt-cli - 6.2.0-1: normalized package name match | Arch Linux sync databases: jwt-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A super fast CLI tool to decode and encode JWTs | https://github.com/mike-engel/jwt-cli
- MacPorts - jwt-cli: normalized package name match | MacPorts ports tree: devel/jwt-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/jwt-cli: normalized package name match | Scoop official bucket manifest trees: bucket/jwt-cli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- Debian apt - jwt - 5.0.0+really4.5.2-1+b2: installed executable or alias match | Debian stable package indexes: jwt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | golang implementation of JSON Web Tokens (command line) | https://github.com/golang-jwt/jwt
- Ubuntu apt - jwt - 5.0.0+really4.5.0-1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: jwt from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | golang implementation of JSON Web Tokens (command line) | https://github.com/golang-jwt/jwt


## Combined YAML source

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


## Quellen

- 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
