Skip to content

CLI Reference

DevAll provides a powerful CLI for managing your development services, viewing logs, and automating workflows. Commands fall into two categories: interactive wizards that guide you through multi-step processes, and direct execution commands that perform immediate actions.

These commands start interactive prompts to guide you through complex workflows.

Launch the interactive project menu with options to create new projects, initialize configs, or open existing projects.

Terminal window
devall cli

This is your starting point if you’re not sure what to do.

Create a new DevAll project with an interactive setup wizard.

Terminal window
devall new

The wizard offers three setup paths:

  1. AI scan current folder - Analyzes your current project with AI
  2. AI scan another folder - Analyzes a different directory
  3. Quick start - Creates a sample configuration

You’ll be prompted to:

  • Choose configuration format (YAML, JSONC, or JSON)
  • Provide optional instructions for the AI
  • Select where to save the config file

Analyze a project directory with AI and generate a DevAll configuration automatically.

Terminal window
# Analyze current directory
devall init
# Analyze specific directory
devall init ./my-project

This command:

  1. Scans your project structure
  2. Runs AI analysis to detect services
  3. Generates a configuration file
  4. Optionally writes the config to disk

These commands control the DevAll server itself.

Start DevAll in auto-mode. If no config is found, starts the project wizard.

Terminal window
# Auto-detect config file
devall
# Use specific config
devall ./my-config.yaml
# Don't open browser automatically
devall --no-open
# Create config if none exists
devall --create-config
# Launch desktop app instead of browser
devall --app

Explicitly start with the dashboard UI (same as default command, but more explicit).

Terminal window
devall ui
devall ui ./my-config.yaml --no-open

Start in headless server mode without any UI or browser.

Terminal window
# Start server without logger
devall server --no-logger

Perfect for CI/CD environments or when you want to control DevAll via CLI commands only.

Start in daemon mode without loading any config. Projects can be loaded dynamically via the UI.

Terminal window
devall daemon
devall daemon --no-open

Launch the native desktop application (Tauri).

Terminal window
# Start desktop app
devall app
# Start without server (assumes server is already running)
devall app --no-server

These commands require a running DevAll server.

Get the status of all services or a specific service.

Terminal window
# Get status of all services
devall status
# Get status of specific service
devall status frontend
# Output as JSON
devall status --format json

List all configured services.

Terminal window
devall list
# JSON output for scripting
devall list --format json

Get detailed information about a specific service.

Terminal window
devall info frontend
# Include full configuration
devall info backend --format yaml

Control individual services. All commands require the server to be running.

Start a specific service.

Terminal window
devall start frontend
devall start backend

Stop a running service.

Terminal window
devall stop frontend

Restart one or all services.

Terminal window
# Restart specific service
devall restart frontend
# Restart all services
devall restart --all

View service output and troubleshoot issues.

View service logs.

Terminal window
# View all logs for a service
devall logs frontend
# View last 50 lines
devall logs frontend 50
# View all service logs
devall logs --all
# Search logs
devall logs frontend --search "error"
# Case-insensitive search
devall logs frontend --search "error" --ignore-case

View only error logs (stderr).

Terminal window
# View all errors for a service
devall errors backend
# View last 25 error lines
devall errors backend 25

Monitor service health and resource usage.

Check the health status of services.

Terminal window
# Check all services
devall health
# Check specific service
devall health frontend

View port usage across all services.

Terminal window
devall ports
# Show detailed port conflict diagnostics
devall ports --diagnostics

List all running DevAll service processes.

Terminal window
devall processes
# JSON output with PIDs and details
devall processes --format json

Manage and validate configuration files.

Get the current configuration.

Terminal window
# Get full configuration
devall config
# Get specific service config
devall config frontend
# Show config file path
devall config --path
# Output as YAML
devall config --format yaml

Validate your DevAll configuration file.

Terminal window
devall validate

Reports any errors or warnings in your config.


Expose local services to the internet using ngrok tunnels.

Expose one or more services via ngrok.

Terminal window
# Expose single service
devall expose frontend
# Expose multiple services
devall expose frontend backend

Generates public URLs for your local services.

Stop exposing services.

Terminal window
devall unexpose frontend
devall unexpose frontend backend

Get the tunnel status and URL for a service.

Terminal window
devall tunnel frontend

Manage saved projects and configurations.

List all saved DevAll projects.

Terminal window
devall projects
# Show config storage path
devall projects --path

Manage the Model Context Protocol server for AI assistants like Claude.

Install and build the MCP server (runs install + build).

Terminal window
devall mcp setup

Start the MCP server.

Terminal window
# Start in stdio mode (for Claude Desktop)
devall mcp start
# Start in SSE mode (for web clients)
devall mcp start --sse --port 3001

Show MCP server information and setup instructions.

Terminal window
devall mcp info
Terminal window
# Install MCP dependencies
devall mcp install
# Build the MCP server
devall mcp build

Get an explanation of DevAll’s architecture designed for coding agents and LLMs.

Terminal window
devall howitworks

These options work with all commands:

Terminal window
--format <type> Output format: json, yaml, human (default: human)
--server-url <url> Server URL for CLI commands (default: http://localhost:7777)
Terminal window
# Get status as JSON
devall status --format json
# Connect to custom server URL
devall list --server-url http://localhost:8888
# YAML output for config
devall config --format yaml

Terminal window
# Interactive wizard
devall new
# Or analyze existing project
devall init ./my-app
Terminal window
# Start the dashboard
devall
# View logs in another terminal
devall logs frontend --search "error"
# Restart a crashed service
devall restart backend
Terminal window
# Start in headless mode
devall server --no-logger &
# Wait for services to be ready
devall health
# Run your tests
npm test
# Get service info as JSON for scripting
devall status --format json
Terminal window
# Start services
devall
# Expose frontend to the internet
devall expose frontend
# Share the ngrok URL
devall tunnel frontend

Most CLI commands require the server to be running. Start it with:

Terminal window
devall server

Or in another terminal:

Terminal window
devall

Use the stealPort option in your config, or manually check port usage:

Terminal window
devall ports --diagnostics

Create a new config with:

Terminal window
devall new

Or analyze your project:

Terminal window
devall init