Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.shuriken.trade/llms.txt

Use this file to discover all available pages before exploring further.

The Shuriken CLI is a thin Rust client over the same REST surface used by the SDKs. It’s built for quick lookups, scripting, and testing without writing SDK code.
The CLI only supports HTTP endpoints. For real-time streams use the WebSocket API directly or one of the SDKs.

Install

curl -fsSL https://cdn.shuriken.trade/shuriken-cli/install.sh | sh
The installer drops a single shuriken binary in ~/.local/bin. Make sure that directory is on your PATH.

Installer environment variables

VariablePurposeDefault
SHURIKEN_VERSIONRelease channel or version to installlatest
SHURIKEN_INSTALL_DIRDirectory where the shuriken symlink is created~/.local/bin
SHURIKEN_DOWNLOAD_BASE_URLOverride the CDN base URL (mirrors or local smoke tests)https://cdn.shuriken.trade/shuriken-cli
NO_COLORDisable colored installer outputunset
Pass them on the same line as sh:
curl -fsSL https://cdn.shuriken.trade/shuriken-cli/install.sh | SHURIKEN_VERSION=v0.3.2 sh
curl -fsSL https://cdn.shuriken.trade/shuriken-cli/install.sh | SHURIKEN_INSTALL_DIR="$HOME/bin" sh

Authentication

The CLI reads your API key from a config file or SHURIKEN_API_KEY environment variable. Create an Agent Key from the Terminal first, then:
export SHURIKEN_API_KEY="your_api_key"
shuriken account me

Updating

Installer-managed installs support channel-aware update detection and in-place updates:
shuriken update check
shuriken update check --output json
shuriken update apply
Pinned installs (SHURIKEN_VERSION=vX.Y.Z) stay pinned. Re-run the installer to move them to latest or another explicit version.

Manual verification

To verify a release tarball manually, download the tarball plus checksum for your platform:
curl -fsSLO https://cdn.shuriken.trade/shuriken-cli/releases/v0.3.2/shuriken-darwin-arm64.tar.gz
curl -fsSLO https://cdn.shuriken.trade/shuriken-cli/releases/v0.3.2/shuriken-darwin-arm64.tar.gz.sha256

shasum -a 256 -c shuriken-darwin-arm64.tar.gz.sha256
tar -xzf shuriken-darwin-arm64.tar.gz
./shuriken --version