CLI Setup
Download the CLI, inspect profile state, save defaults, and switch auth modes before you run repeated commands.
Overview
The Backlog CLI is shipped as a standalone shell script you can download directly from the public site.
This topic holds the setup work that makes later task, project, security, and automation commands easier to run.
What this topic helps you do
- Download the current CLI script.
- Inspect the current CLI state.
- Persist local profile defaults.
- Switch the CLI into the correct auth mode.
Choose the Exact Guide
Each guide stays focused on one job so you can open the exact task instead of reading through one oversized overview.
Download the CLI
Download the standalone Backlog CLI script from `https://backlog.to/backlog.sh` and make it executable locally.
Check CLI Status
Inspect the active CLI profile, token source, and workspace defaults before you run commands.
Configure a CLI Profile
Persist the base URL or workspace id for a CLI profile so repetitive commands stop depending on long flag strings.
Set the Active CLI Token
Switch the CLI into the right token mode before you run resource or admin commands.