Repository navigation
v0.14.0
Breaking changes
- Raw admin requests now use
terra admin-api. Replaceterra apiin scripts
and commands, includingterra api list, withterra admin-api. The old
spelling is no longer accepted.terra data-apikeeps its name. - Remove
--no-verifyfrom raw admin and data API requests. Both commands now
send paths and methods without checking them against the bundled endpoint
catalog, so the flag is no longer needed or accepted.
Standalone installation
-
Install Terra on macOS or Linux without npm or Homebrew:
curl -fsSL https://cli.tryterra.co/install.sh | sh -
Supports ARM64 and x86-64, installs into
~/.local/binby default without
sudo, and configures PATH for Bash, Zsh, or fish. The installer prints the
command to activate PATH in the current terminal. -
Choose a release with
--version, a destination with--install-dir, or
skip shell changes with--no-modify-path.TERRA_INSTALL_DIRand
TERRA_NO_MODIFY_PATH=1provide the corresponding environment overrides. -
Downloads are verified against SHA-256 checksums. The installer detects
competing installations, requires--forceto replace an unrecognized
destination or install alongside another copy, and serializes concurrent
installs even when--forceis used. Failed or interrupted replacement
restores the previous installation when rollback succeeds. -
Rerun the installer to update. Update notices recognize standalone installs
and provide an installer command that preserves a custom install directory. -
Stable releases update and verify the hosted installer after publishing the
binary archives. Prereleases leave the stable installer unchanged.
Raw API requests
terra admin-apiandterra data-apican reach endpoints and HTTP methods
added after this CLI's bundled API description. The server determines whether
a route is supported; valid new endpoints are no longer rejected locally.- Endpoint discovery and completion still use the bundled catalog and can lag
the server. Useterra admin-api listfor known admin endpoints or
terra admin-api list --data-apifor known data endpoints. Request syntax
checks and DELETE confirmation still apply. - Help, examples, and troubleshooting guidance use the explicit
admin-api
command name and document the standalone installation path.
Install or upgrade, on macOS:
brew install tryterra/tap/terra
Or with the standalone installer, on macOS or Linux:
curl -fsSL https://cli.tryterra.co/install.sh | sh -s -- --version 0.14.0
Or with npm, on any platform:
npm install -g @tryterra/cli@0.14.0
Each archive below carries a checksum file and a Sigstore bundle. To
verify one:
cosign verify-blob --bundle terra-mac-checksums.txt.bundle terra-mac-checksums.txt