CLI getting started
The Retask CLI (retask) drives the same API as the web app from your terminal or scripts.
Install
Section titled “Install”macOS / Linux:
curl -fsSL https://retask.work/install.sh | shWindows (PowerShell):
irm https://retask.work/install.ps1 | iexAuthenticate
Section titled “Authenticate”Set your Personal Access Token and workspace, then exchange the PAT for a JWT:
export NWEB_API_KEY="nweb_pat_..."export NWEB_WORKSPACE_ID="ws_..."retask auth loginNWEB_API_KEY and NWEB_WORKSPACE_ID are required. Optional environment variables:
NWEB_API_TOKEN, NWEB_API_ENDPOINT, RETASK_PROFILE, RETASK_NO_PERSIST.
First commands
Section titled “First commands”retask project listretask task create --project-id <id> --title "Fix login bug" --priority HIGHSee the command reference for every command.