Skip to main content

Install the CLI

tmspec is a single executable that needs nothing else installed. Each release of the CLI is signed, so you can check that the file you downloaded really is tmspec's before you run it.

Download​

Each release is a Release page, with:

FileContents
tmspec_<version>_<os>_<arch>.tar.gzThe CLI, a README and the skill for agents
SHA256SUMSChecksums of every archive
SHA256SUMS.sigstore.jsonThe cosign signature of SHA256SUMS
One SBOM file (SPDX) for each archiveThe list of components in the binary

There are archives for Linux and macOS, on amd64 and arm64. A Windows (amd64) archive is also built but not yet supported. Some versions have a suffix such as -rc.1, a trial build before the official release. There is no Homebrew, deb or rpm package yet.

Pick the right one for your machine (uname -sm tells the operating system and architecture) and download the archive together with SHA256SUMS and SHA256SUMS.sigstore.json into one folder.

Verify the signature​

You need cosign 2.5 or later. Save the public key below as cosign.pub. The key may change over time: compare it with the cosign.pub file in the CLI's source at the exact tag you install, and use that tag's key if it differs:

-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE4UhU8NHzsO2TK2tvNitVnm6HV0xA
P2cX1lFFPW+bMTz2SkAqz4TeoIc6fsV8biiTErnYMhsxajQtlEkoAfeWew==
-----END PUBLIC KEY-----

In the folder with the downloaded files:

cosign verify-blob --key cosign.pub --bundle SHA256SUMS.sigstore.json --insecure-ignore-tlog SHA256SUMS
sha256sum --check --ignore-missing SHA256SUMS # macOS: grep <archive name> SHA256SUMS | shasum -a 256 --check

The first command prints Verified OK when the signature is right. The second reports OK for the archive you downloaded. If either fails, do not run that file.

--insecure-ignore-tlog is normal: the signature was made with a key pair and is not in Sigstore's public log, so the public key above is the only point of trust. Get the key from a source you trust.

Install and check​

tar -xzf tmspec_<version>_<os>_<arch>.tar.gz
install -m 0755 tmspec ~/.local/bin/tmspec # or any folder on your PATH
tmspec version --json

tmspec version prints the CLI version, the build id, the build date and api_version: the version of the API this CLI was generated to talk to. See CLI and server compatibility.

The archive also has a skills/tmspec/ folder: the skill for agents, at the same version as the binary (Use with agents).

Completion​

source <(tmspec completion bash) # bash
tmspec completion zsh > "${fpath[1]}/_tmspec" # zsh
tmspec completion fish | source # fish

Upgrade​

Download the new version, verify the signature as above and overwrite the old file. The CLI reminds you when the server reports a newer version (once a day) and refuses to run when it is too old for the server (exit code 12); see Exit codes.

Next step​

Sign in and choose a project in Configuration.