# step CLI

> An easy-to-use CLI tool for building, operating, and automating Public Key Infrastructure (PKI) systems and workflows

Source: https://talira.ai/catalog/step-cli-80sydcp9
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [security / pki](https://talira.ai/categories/security/pki), [networking / tls](https://talira.ai/categories/networking/tls)
- Platforms: macos, linux, windows, docker, cli[^1][^6]
- Licence: Apache-2.0[^4][^5]
- Pricing: Free and open source[^4][^5]
- Pricing notes: Free under Apache-2.0.
- Free tier: yes[^4][^5]
- Self-hostable: yes[^1]
- Plugins: yes[^4]
- Backed by: [Smallstep](https://talira.ai/orgs/smallstep.md)

The step CLI (the `step` command) is Smallstep's open source tool for X.509 and SSH certificates, keys and tokens: it creates root and intermediate CA certificates, key pairs, CSRs and self-signed or CA-signed certificates, inspects and lints certificates on disk or on a live server, checks whether one needs renewing, and installs root certificates into the system and browser trust stores. It's also the client for [step-ca](https://talira.ai/catalog/step-ca-bc9zt7d4.md): `step ca` initialises an X.509 or SSH CA in one command, bootstraps trust in it, and requests, renews and revokes certificates with any of its provisioners, and it can get certificates from any ACMEv2 CA with the http-01 challenge. `step ssh` gets short-lived SSH user and host certificates (with single sign-on) and loads them into the SSH agent, `step crypto` signs, verifies and inspects JWTs, JWS and JWE, makes JWKs, TOTP codes, password hashes and file hashes, and `step oauth` runs OAuth 2.0 and OIDC flows from a terminal. It's written in Go under Apache-2.0 and runs plugins named `step-<name>-plugin`, such as step-kms-plugin for keys in HSMs, TPMs, YubiKeys, the [macOS](https://talira.ai/catalog/macos-8swyggxb.md) Keychain and cloud KMSs.

## Links

- Website: https://smallstep.com/cli/
- GitHub: https://github.com/smallstep/cli
- Docs: https://smallstep.com/docs/step-cli/

## Ways to install

### Package managers

- [WinGet](https://talira.ai/catalog/winget-g927bz13.md): <https://github.com/microsoft/winget-pkgs/tree/master/manifests/s/Smallstep/step>[^1]
- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/step>[^2]
- [mise](https://talira.ai/catalog/mise-0axr08xw.md): <https://mise-versions.jdx.dev/tools/step>[^3]

## Problems it solves

- create my own root and intermediate CA certificates without memorising openssl flags
- inspect the certificate a remote server presents to see its chain, names and expiry date
- lint an X.509 certificate for problems before we deploy it
- install our internal root CA into the system and browser trust stores on a developer's machine
- make a key pair and CSR from the command line and get it signed by our private CA
- renew certificates from our private CA automatically from a script or a long-running process
- check in an automation script whether a deployed certificate is due for renewal
- decode and verify a JWT from the terminal
- get an OIDC ID token from Google or Okta at the command line for a script
- log in with single sign-on and get a short-lived SSH certificate loaded into my SSH agent
- encrypt a file or wrap a private key with JSON Web Encryption from the command line
- sign certificates with a private key kept in a YubiKey, TPM or cloud KMS
- make development HTTPS certificates that browsers trust

## Features

- create, revoke, validate, lint and bundle X.509 certificates
- create RSA, ECDSA and EdDSA key pairs and CSRs, and sign CSRs
- create root and intermediate CA certificates, self-signed and CA-signed certificates
- inspect and lint certificates on disk or in use by a remote server
- install and remove root certificates in the system and browser trust stores
- check certificate deployment and renewal status for automation
- initialise an X.509 and/or SSH CA in one command (step-ca)
- request, renew and revoke certificates from step-ca with any of its provisioners, and bootstrap trust in it
- ACMEv2 client for any RFC 8555 CA with the http-01 challenge
- SSH user and host certificates, added to and removed from the SSH agent; single sign-on SSH
- sign, verify and inspect JWTs and JWS; encrypt and decrypt with JWE; create JWKs and key sets
- TOTP generation and verification, NaCl encryption and signing, scrypt, bcrypt and argon2 KDFs, file hashes
- OAuth 2.0 authorization code, out-of-band, JWT bearer and refresh token flows; OIDC ID tokens at the command line
- plugins named step-\<name\>-plugin, including step-kms-plugin for HSMs, TPMs, YubiKeys, the macOS Keychain and cloud KMSs
- packages for Homebrew, Debian and Ubuntu, RHEL and Fedora, Arch, Alpine, NixOS, FreeBSD, Wolfi, winget and Scoop

## Limitations

- Doesn't answer dns-01 or tls-alpn-01 ACME challenges: with an ACME CA it supports only http-01[^4]
- Doesn't issue SSH certificates on its own: step ssh needs an online or offline step-ca[^4]

## Capabilities

- Has a command line tool: plan not known
- Takes plugins: plan not known

## Trust

Overall: 0.38 out of 1.
Signals: backing 0.30, extensibility 0.40.

- backed by Smallstep
- has a plugin system

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [step-ca](https://talira.ai/catalog/step-ca-bc9zt7d4.md)
- Works with [Smallstep Device Identity Platform](https://talira.ai/catalog/smallstep-device-identity-platform-dkgax426.md)

## Alternatives

- [mkcert](https://talira.ai/catalog/mkcert-z3f3rbxz.md): A simple zero-config tool to make locally trusted development certificates with any names you'd like.
- [OpenSSL](https://talira.ai/catalog/openssl-fxkppzee.md): General purpose TLS and crypto library
- [step-ca](https://talira.ai/catalog/step-ca-bc9zt7d4.md): A private certificate authority (X.509 & SSH) & ACME server for secure automated certificate management

## Sources

[^1]: https://smallstep.com/docs/step-cli/installation/ (checked 20 Nov 2026)
[^2]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^3]: https://mise-versions.jdx.dev/tools.json (checked 21 Nov 2026)
[^4]: https://github.com/smallstep/cli/blob/master/README.md (checked 20 Nov 2026)
[^5]: https://github.com/smallstep/cli/blob/master/LICENSE (checked 20 Nov 2026)
[^6]: https://hub.docker.com/r/smallstep/step-cli (checked 20 Nov 2026)
