CLI reference

Use packslip to sign a release in your release job, check an artifact you downloaded, or install an upstream tool without its installer script. Below, its commands are grouped by task, each with its reference page and the guide that uses it. To install packslip with mise, a script, a package, the container image, a direct download, or a source build, see Install packslip.

Publish a release

CommandWhat it doesGuide
packslip createCreate and sign the release bundle for a releasePublish with GitHub Actions or Try packslip locally
packslip keygenGenerate a key pair for key-signed releasesPublish from other CI
packslip releasesCreate and sign a release list, which lists a project's releases and can withdraw or recommend them; a domain project needs oneManage release lists

Verify a release

CommandWhat it doesGuide
packslip verifyCheck a release bundle or release list, and the files you downloadedVerify a release
packslip pinPrint the signer fingerprint of a release you trustPin a signer with its fingerprint
packslip showPrint a bundle's statement without verifying itRead the signed statement

show reads a statement without checking anything. verify checks a bundle and the local files you give it.

Install a tool

CommandWhat it doesGuide
packslip installInstall a tool from its verified release, as in packslip install github.com/jdx/hkBootstrap a tool

Beyond what verify checks, install finds the release, selects and downloads the artifact for this host, remembers which signer it trusted, and installs the commands the release declares.

Utilities

CommandWhat it doesGuide
packslip schemaPrint the JSON schema of a statement or of a verify --json reportJSON schemas
packslip completionPrint a shell completion scriptSet up shell completions
packslip versionPrint packslip's version

Set up shell completions

Two install methods set up completions for you:

Otherwise, packslip completion SHELL prints a script that asks the installed packslip for candidates, so it keeps working after upgrades. Save it where your shell loads completions, then start a new shell.

For bash, with the bash-completion package installed:

mkdir -p ~/.local/share/bash-completion/completions
packslip completion bash > ~/.local/share/bash-completion/completions/packslip

For zsh, write the script to a directory of your own:

mkdir -p ~/.zfunc
packslip completion zsh > ~/.zfunc/_packslip

Then add fpath=(~/.zfunc $fpath) to ~/.zshrc, above the line that runs compinit.

For fish:

mkdir -p ~/.config/fish/completions
packslip completion fish > ~/.config/fish/completions/packslip.fish

For Elvish, add this line to ~/.config/elvish/rc.elv:

eval (packslip completion elvish | slurp)

For Nushell, run this in Nushell to write the script to its autoload directory. The shell name can be nu or nushell.

mkdir ($nu.default-config-dir | path join autoload)
packslip completion nu | save --force ($nu.default-config-dir | path join autoload packslip.nu)

For PowerShell, run this to load the script from your profile. The shell name can be powershell or pwsh.

New-Item -ItemType Directory -Force (Split-Path $PROFILE) | Out-Null
Add-Content -Path $PROFILE -Value 'packslip completion powershell | Out-String | Invoke-Expression'

Get help

The command pages are generated from the development branch's help, so they can include options added after the latest release. Run packslip <command> --help for the options your installed version supports.