CLI / Install and usage guide
Install and usage guide
Everything you need to get the ws CLI running, authenticated, and useful. The simplest install is a single npm command that works on every platform. A shell script, a PowerShell one-liner, and manual binaries are also available if you prefer to manage the install yourself.
Install
npm (any platform)
The simplest option. Works on macOS, Linux, and Windows wherever you have Node.js installed, and keeps the CLI on your PATH automatically.
npm install -g @workspark/climacOS and Linux (shell script)
Run this in your terminal. The script detects your OS and architecture, downloads the correct binary, and places it in /usr/local/bin.
curl -fsSL https://workspark.io/cli/install.sh | shWindows (PowerShell)
irm https://workspark.io/cli/install.ps1 | iexVerify the install
ws --versionManual download
Download the archive for your platform, extract the binary, and place it somewhere on your PATH.
| Platform | File |
|---|---|
| macOS (Apple Silicon) | ws-darwin-arm64.tar.gz |
| Linux (x86_64) | ws-linux-amd64.tar.gz |
| Linux (arm64) | ws-linux-arm64.tar.gz |
| Windows (x86_64) | ws-windows-amd64.zip |
| Windows (arm64) | ws-windows-arm64.zip |
macOS / Linux manual install steps
curl -fLO https://downloads.workspark.io/ws-cli/ws-darwin-arm64.tar.gz
tar -xzf ws-darwin-arm64.tar.gz
sudo mv ws /usr/local/bin/ws
chmod +x /usr/local/bin/wsNo-sudo alternative: install to your home directory
If you prefer not to use sudo, install to ~/.local/bin instead and add it to your PATH.
mkdir -p ~/.local/bin
mv ws ~/.local/bin/ws
chmod +x ~/.local/bin/wsAdd the following line to your ~/.zshrc or ~/.bashrc:
export PATH="$HOME/.local/bin:$PATH"Then restart your shell or run source ~/.zshrc. Verify with ws --version and ws --help.
Authenticate
Sign in with your Workspark account.
ws auth loginOpens the browser to sign in.
ws auth whoamiShows your account details and org memberships, including the active org and your roles.
ws auth statusShows current authentication status.
ws auth logoutClears the stored session.
Configure your organisation
Most commands operate against a single active organisation. Set it once and all subsequent commands use it automatically. You can always override with the --organization flag.
ws config initFirst-time setup wizard. Walks you through selecting your organisation.
ws organizations listLists all organisations you belong to.
ws organizations useInteractive picker to set your active organisation. Or pass an org ID directly: ws organizations use 01KN17QXK5V42A1W8A4FSDF2KX.
Everyday commands
A selection of common commands to get you oriented. Every command accepts --help for a full list of flags.
Accomplishments
ws accomplishments create \
--content "Shipped the new onboarding flow, cutting time-to-first-value by 40%." \
--entry-date 2026-05-28Logs a new accomplishment. AI enrichment fills in the title and category automatically if you omit them. Valid categories: create, execute, lead, learn, maintain, plan, research, share, support. Defaults to your own member record when --member-id is omitted.
ws accomplishments listLists your recent accomplishments.
ws accomplishments list \
--filter entry_date_from=2026-01-01 \
--filter entry_date_to=2026-03-31Filter by date range. Useful for preparing a self-review.
ws accomplishments get 01KN17QXK5V42A1W8A4FSDF2KXFetch a single accomplishment by ID.
Members
ws members listLists members in the active organisation.
ws members list --match "Alice"Search members by name.
OKRs
ws okrs cycles list --match "2026 H1"Find an OKR cycle by name.
ws okrs list 01KN17QXK5V42A1W8A4FSDF2KXList OKRs in a cycle (pass the cycle ID).
Tasks
ws tasks boards listList task boards in the active organisation.
Tips
- Run
ws <command> --helpfor any subcommand to see all available flags. - Add
--output jsonto any list or get command for machine-readable output, useful for scripting or piping intojq. - Run
ws auth whoamibefore any write command to confirm you are operating against the right organisation.
Keeping up to date
Check your current version with ws --version. The CLI checks compatibility with the server on each run and prints an update notice when a newer version is recommended or required. To upgrade, re-run the install method you used. For npm:
npm update -g @workspark/cliOr re-run the shell script (macOS / Linux):
curl -fsSL https://workspark.io/cli/install.sh | sh