# Installer jwt-cli avec Homebrew, apk, MacPorts, Nix, pacman, scoop, apt

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

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

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

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

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

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

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

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

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

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

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

## Faits du paquet

- **Clé du paquet:** brew:jwt-cli
- **Gestionnaire de paquets:** Homebrew
- **Version:** 6.2.0
- **Résumé source:** Super fast CLI tool to decode and encode JWTs built in Rust
- **Page d'accueil:** <https://github.com/mike-engel/jwt-cli>
- **Dépôt:** <https://github.com/mike-engel/jwt-cli>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- jwt (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

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

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

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

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.

### Chronologie

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

### Sources

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


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

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


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