- Manual workflows
- Manual Install and Auth
Manual workflows
Manual Install and Auth
Install the Docsalot CLI and authenticate manually when you are not using the agent-first flow.
Most users should start with Agent-First Onboarding.
Use this page when:
- you want to operate the CLI manually
- your coding agent asks you to authenticate
- you are setting up CI or a shared machine
- you are troubleshooting a login problem
Prerequisites
- Node.js
20+ - npm
- A Docsalot account with access to a team/documentation
Install
npm install -g docsalot-cli
docsalot --version
Discover commands
If you want to inspect the CLI manually:
docsalot --help
Then inspect a specific command group:
docsalot auth --help
docsalot docs --help
Authenticate
For local development, start an interactive login from the terminal. The CLI prints a URL, you open it in your browser, and once approved you are logged in automatically.
docsalot auth login
docsalot auth whoami --json
If you need the login URL without opening a browser automatically:
docsalot auth login --no-open
For CI or secure scripting, use token login via stdin:
echo "$DOCSALOT_API_TOKEN" | docsalot auth login --from-stdin
Install coding-agent skill
Install Docsalot’s dedicated CLI skill so your coding agent can automatically learn CLI workflows and command patterns.
docsalot skills install
docsalot skills install detects your coding agent and installs the skill in the correct local skills directory.
Manage API tokens from CLI
docsalot auth api-token set --token <YOUR_TOKEN>
docsalot auth api-token list
docsalot auth api-token remove --id <TOKEN_ID>
Verify access
docsalot docs list --json
If list returns your documentations, auth is configured correctly.