cli-setup
Run initial setup, configure global CLI settings, manage environment variables, check for updates, and configure autostart via the CLI setup and config commands.
SKILL.mdskills/cli-setup/SKILL.md
GitHub<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->
Overview
Run initial setup, configure global CLI settings, manage environment variables, check for updates, and configure autostart via the CLI setup and config commands.
Quick install
npm install -g nextroute # or: npx nextroute
nextroute --version
Subcommands
autostart
Example:
nextroute autostart
autostart enable
Example:
nextroute autostart enable
autostart disable
Example:
nextroute autostart disable
autostart status
Example:
nextroute autostart status
config
Show or update CLI tool configuration
Example:
nextroute config
config list
List all CLI tools and config status
Flags:
--json
Example:
nextroute config list
config get <tool>
Show current config for a tool
Flags:
--json
Example:
nextroute config get <tool>
config set <tool>
Write config for a tool
Flags:
--model <model>--non-interactive--yes
Example:
nextroute config set <tool>
config validate <tool>
Validate config format without writing
Flags:
--model <model>--json
Example:
nextroute config validate <tool>
config opencode
Generate OpenCode config (alias for
Flags:
--model <model>--non-interactive--yes
Example:
nextroute config opencode
config lang
Example:
nextroute config lang
config get
Flags:
--json
Example:
nextroute config get
config set <code>
Flags:
--force
Example:
nextroute config set <code>
config list
Flags:
--json
Example:
nextroute config list
env
Show and manage environment variables
Example:
nextroute env
env show
Show current environment variables
Flags:
--json
Example:
nextroute env show
env get <key>
Get a single environment variable
Example:
nextroute env get <key>
env set <key> <value>
Set an environment variable (current session only)
Example:
nextroute env set <key> <value>
setup
Flags:
--password <value>--add-provider--provider <id>--provider-name <name>--api-key <value>--default-model <model>--provider-base-url <url>--test-provider--non-interactive--list
Example:
nextroute setup
update
Flags:
--check--apply--changelog--dry-run--no-backup--yes
Example:
nextroute update