CLI Reference• 3 min read
Terminal CLI Companion
Drive Stratos directly from your terminal using the stratos binary.
Installing the CLI Companion
Stratos automatically creates a symlink at ~/bin/stratos during the onboarding wizard. Ensure ~/bin is in your shell $PATH:
export PATH="$HOME/bin:$PATH"
CLI Command Reference
| Command | Description |
|---|---|
stratos status |
Display JSON status of all active services, ports, and webroot. |
stratos open [site] |
Open the site in your default web browser over HTTPS. |
stratos reveal [site] |
Reveal the site's project folder in macOS Finder. |
stratos logs -f |
Tail live Nginx and PHP-FPM log streams in your terminal. |
stratos trust-ca |
Generate and trust the Local Root CA in System Keychain. |
stratos migrate |
Run php artisan migrate on the current working project. |