💻

CLI Reference

Complete reference for the bitl command-line interface.

🌐 Site Commands

CommandDescription
bitl linkLink 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 listList all sites

🐘 PHP Commands

CommandDescription
bitl php use [version]Switch default PHP version
bitl php listList installed PHP versions
bitl php whichShow current PHP version

⚙️ Service Commands

CommandDescription
bitl startStart BitL stack (nginx + php + dns)
bitl stopStop BitL stack
bitl restartRestart BitL stack
bitl statusShow service status
bitl servicesList all services
bitl services start [name]Start a service
bitl services stop [name]Stop a service

🗃️ Database Commands

CommandDescription
bitl db listList databases
bitl db create [name]Create database
bitl db drop [name]Drop database

🔧 Other Commands

CommandDescription
bitl logs [type]View logs (nginx, php, etc)
bitl xdebug on|offToggle Xdebug
bitl share [domain]Share site via tunnel
bitl migrateMigrate from Laravel Herd
bitl doctorCheck for issues

❓ Getting Help

# Show all commands bitl --help # Show help for a specific command bitl link --help