Get up and running in 5 minutes flat.
You need:
- macOS 10.15+ (any Mac)
- Cloudflare WARP from App Store
- This repository cloned to your Mac
# 1. Clone or download this repo
git clone https://github.com/yourusername/cloudflare-warp.git
cd cloudflare-warp
# 2. Run installation (one command!)
./install-complete.sh
# That's it! Wait 2-3 minutes for build to complete.# Check status
$ warp status
Status update: Disconnected
# Connect
$ warp up
✓ Connected to WARP
# Disconnect
$ warp down
✓ Disconnected from WARP
# Check again
$ warp status
Status update: Disconnectedwarp status # Check connection
warp up # Connect
warp down # Disconnect
warp toggle # Toggle on/off
warp logs --follow # Watch logs (Ctrl+C to stop)
warp mode warp # Change to WARP mode
warp exclude add DOMAIN # Exclude domain from WARP
warp --help # See all commandsYou're all set. Use warp in your terminal just like any other command.
$ warp
Cloudflare WARP CLI
Usage: warp [OPTIONS] <COMMAND>
Commands:
status Show current WARP status
up Connect to WARP
down Disconnect from WARP
toggle Toggle WARP connection
mode Set WARP mode
logs Follow daemon logs
exclude Manage split tunnel
daemon Manage daemon
...Installation failed?
# Check if Cloudflare WARP is installed
ls "/Applications/Cloudflare WARP.app"
# If not, install it from App Store first:
# https://apps.apple.com/app/cloudflare-warp/id1423210915Command not found?
# Make sure /usr/local/bin is in PATH
echo $PATH | grep -q "/usr/local/bin" && echo "OK" || echo "NOT OK"
# If not OK, add to ~/.zshrc or ~/.bashrc:
export PATH="/usr/local/bin:$PATH"Daemon not running?
warp daemon restartStill stuck?
- See
INSTALLATION.mdfor detailed troubleshooting - Run
warp diagnoseto check everything - Check logs:
warp logs --follow
- Want more examples? → Read
USAGE_EXAMPLES.md - Need help installing? → Read
INSTALLATION.md - Want technical details? → Read
README_COMPLETE.md - Need all features? → Run
warp --help
# Check if connected (script-friendly)
warp status --json | grep -q '"connected":true' && echo "ON" || echo "OFF"
# Auto-reconnect if disconnected
warp status --quiet || warp up
# View real-time logs
warp logs --follow
# Exclude your home network
warp exclude add 192.168.1.0/24
# Restart everything
warp daemon restart && sleep 2 && warp upThat's it! Enjoy your CLI. 🚀
$ warp up
✓ Connected to WARP