CLI Reference
List Coder includes a powerful command-line interface for managing your IDE, projects, and AI settings from the terminal.
Installation
The List Coder CLI is installed automatically with the IDE. Access it via:
list-coder [command] [options]
Or on some systems:
lc [command] [options]
Commands
list-coder help
Display help information.
list-coder help
list-coder help [command]
list-coder version
Show the installed version.
list-coder version
# Output: List Coder v3.3.0
list-coder config
Manage List Coder configuration.
# View all settings
list-coder config list
# Get a specific setting
list-coder config get ai.model
# Set a setting
list-coder config set ai.model gpt-4o
# Reset to defaults
list-coder config reset
list-coder model
Manage AI models.
# List available models
list-coder model list
# Set the default model
list-coder model set gpt-4o
# Test a model connection
list-coder model test
# Show model info
list-coder model info gpt-4o
list-coder server
Manage the List Coder development server.
# Start the server
list-coder server start
# Stop the server
list-coder server stop
# Restart the server
list-coder server restart
# Show server status
list-coder server status
list-coder project
Manage projects.
# Open a project
list-coder project open /path/to/project
# Create a new project
list-coder project create my-app
# List recent projects
list-coder project list
# Clear recent projects
list-coder project clear
list-coder extension
Manage extensions.
# List installed extensions
list-coder extension list
# Install an extension
list-coder extension install [extension-id]
# Uninstall an extension
list-coder extension uninstall [extension-id]
# Update all extensions
list-coder extension update
list-coder doctor
Diagnose common issues.
list-coder doctor
Output includes:
- System information
- List Coder version
- Git status
- Node.js version
- Network connectivity
- API key validation
list-coder update
Update List Coder to the latest version.
# Check for updates
list-coder update check
# Install updates
list-coder update install
# Force update
list-coder update install --force
Global Options
| Option | Description |
|---|---|
--help | Show help for a command |
--version | Show version |
--verbose | Enable verbose output |
--quiet | Suppress output |
--json | Output as JSON |
Environment Variables
| Variable | Description |
|---|---|
LIST_CODER_HOME | Path to List Coder config directory |
LIST_CODER_MODEL | Override default AI model |
LIST_CODER_API_KEY | Override API key |
LIST_CODER_LOG_LEVEL | Set log level (debug, info, warn, error) |
Examples
Set up a new project
list-coder project create my-api
cd my-api
list-coder config set ai.model gpt-4o
list-coder .
Batch configuration
list-coder config set ai.provider openai
list-coder config set ai.model gpt-4o
list-coder config set git.enableCheckpoints true
list-coder config set editor.fontSize 14
CI/CD Integration
list-coder doctor --json > report.json
list-coder model test --json