💻
CLI Reference
Complete reference for the bitl command-line interface.
🌐 Site Commands
| Command | Description |
|---|---|
bitl link | Link current directory as a site |
bitl unlink [domain] | Unlink a site |
bitl park [path] | Park a directory |
bitl unpark [path] | Unpark a directory |
bitl secure [domain] | Enable SSL for a site |
bitl unsecure [domain] | Disable SSL for a site |
bitl isolate [domain] [php@version] | Isolate site to PHP version |
bitl list | List all sites |
🐘 PHP Commands
| Command | Description |
|---|---|
bitl php use [version] | Switch default PHP version |
bitl php list | List installed PHP versions |
bitl php which | Show current PHP version |
⚙️ Service Commands
| Command | Description |
|---|---|
bitl start | Start BitL stack (nginx + php + dns) |
bitl stop | Stop BitL stack |
bitl restart | Restart BitL stack |
bitl status | Show service status |
bitl services | List all services |
bitl services start [name] | Start a service |
bitl services stop [name] | Stop a service |
🗃️ Database Commands
| Command | Description |
|---|---|
bitl db list | List databases |
bitl db create [name] | Create database |
bitl db drop [name] | Drop database |
🔧 Other Commands
| Command | Description |
|---|---|
bitl logs [type] | View logs (nginx, php, etc) |
bitl xdebug on|off | Toggle Xdebug |
bitl share [domain] | Share site via tunnel |
bitl migrate | Migrate from Laravel Herd |
bitl doctor | Check for issues |
❓ Getting Help
# Show all commands
bitl --help
# Show help for a specific command
bitl link --help