Command Line

Complete command-line interface guide and command reference for Burrow CLI.

CLI Reference

Burrow features a powerful command-line interface to manage your local server environment from any terminal.

Terminal Integration

The installer registers burrow.bat in your system PATH, allowing you to invoke the burrow command from PowerShell, Command Prompt, or Git Bash.

Commands

General

Command Description
burrow status View the active status of Nginx, MariaDB, PHP runtimes, and sites
burrow start [service] Start all services, or a specific service (nginx, php, mariadb)
burrow stop [service] Stop all services, or a specific service

Sites

Command Description
burrow link [domain] Link the current directory to a local domain
burrow unlink [domain] Unlink the specified domain
burrow open <domain> Open the local domain in your default browser
burrow ide <domain> Launch your default IDE in the project folder
burrow log <domain> [access|error] Tail access or error logs for a site (defaults to error log)

Database

Command Description
burrow db start Start the MariaDB service
burrow db stop Stop the MariaDB service
burrow db list List all databases
burrow db create <name> Create a new database
burrow db drop <name> Delete a database

Technology & Security

Command Description
burrow php use <version> Set the global CLI PHP version
burrow node use <version> Set the global default Node.js version
burrow https enable <domain> Generate a trusted SSL certificate for the site
burrow https disable <domain> Disable HTTPS for the site