Complete steps to cleanly remove and reinstall warp-cli and WARP daemon.
- ❌ Something isn't working right
- ❌ WARP daemon crashed and won't restart
- ❌ Switching from old
homebrew-warptap to newhomebrew-tools - ❌ Clearing out old installation after updates
- ✅ Starting completely fresh
- ✅ Troubleshooting connection issues
warp down# If installed via Homebrew
brew uninstall warp-cli
# If installed from source
rm /usr/local/bin/warp# If installed via Homebrew cask
brew uninstall --cask cloudflare-warp
# If installed from App Store (manual removal)
rm -rf /Applications/Cloudflare\ WARP.app
# Remove configuration files
rm -rf ~/.cloudflare-warp
rm -rf ~/Library/Application\ Support/Cloudflare
rm -rf ~/Library/Preferences/com.cloudflare.warp.plist# If you were using the old tap
brew untap zero8dotdev/warp
# Verify it's removed
brew tap | grep warp
# Should return nothing if successfully removed# Confirm warp-cli is gone
which warp
# Should say "not found"
# Confirm WARP daemon is stopped
launchctl list | grep -i warp
# Should return nothing
# Confirm no app remains
ls /Applications | grep -i cloudflare
# Should return nothingbrew tap zero8dotdev/toolsbrew install warp-cliThis automatically: ✅ Installs WARP daemon (via cask dependency) ✅ Removes GUI app (post-install hook) ✅ Installs warp-cli binary ✅ Configures everything
# Check warp-cli is installed
warp --version
# Should output: warp 0.1.0
# Check WARP daemon is running
warp status
# Should show connection status
# Check daemon is active
launchctl list | grep -i warp
# Should show warp_service running as root# Connect to WARP
warp up
# Should output: ✓ Connected to WARP
# Verify it worked
warp status
# Should show: Status: Connected to WARP
# Disconnect
warp down
# Should output: ✓ Disconnected from WARP# Verify tap exists
brew tap-info zero8dotdev/tools
# Try adding tap again
brew tap zero8dotdev/toolsSolution: If it still fails, the tap might be temporarily unavailable. Wait a few minutes and try again.
# Update Homebrew
brew update
# Try installing again
brew install warp-cliSolution: Outdated Homebrew can cause issues. Update first.
# Use sudo if needed
sudo rm -rf /Applications/Cloudflare\ WARP.appSolution: The post-install hook should handle this automatically, but if it fails, use sudo.
# Check daemon status
warp status
# Restart daemon manually
sudo launchctl stop com.cloudflare.warp.daemon
sudo launchctl start com.cloudflare.warp.daemon
# Check if it's running
launchctl list | grep warpSolution: Try restarting the daemon. If still fails, do another fresh install.
# Clear Homebrew cache
brew cleanup
# Uninstall and reinstall
brew uninstall warp-cli
brew install warp-cliSolution: Cached version issue. Clean and reinstall.
Use this if you want to completely remove all WARP-related files:
#!/bin/bash
echo "🔴 NUCLEAR OPTION: Removing ALL WARP-related files..."
# Stop any running processes
echo "Stopping WARP..."
warp down 2>/dev/null || true
pkill -f warp || true
# Uninstall via Homebrew
echo "Uninstalling via Homebrew..."
brew uninstall warp-cli 2>/dev/null || true
brew uninstall --cask cloudflare-warp 2>/dev/null || true
brew untap zero8dotdev/warp 2>/dev/null || true
brew untap zero8dotdev/tools 2>/dev/null || true
# Remove binaries
echo "Removing binaries..."
rm -f /usr/local/bin/warp
rm -f /opt/homebrew/bin/warp
# Remove configuration files
echo "Removing config files..."
rm -rf ~/.cloudflare-warp
rm -rf ~/Library/Application\ Support/Cloudflare
rm -rf ~/Library/Preferences/com.cloudflare.warp.plist
rm -rf ~/Library/LaunchAgents/com.cloudflare.warp*
# Remove app
echo "Removing app..."
rm -rf /Applications/Cloudflare\ WARP.app
# Stop launchd services
echo "Stopping daemon..."
sudo launchctl unload /Library/LaunchDaemons/com.cloudflare.warp.daemon.plist 2>/dev/null || true
sudo rm -f /Library/LaunchDaemons/com.cloudflare.warp.daemon.plist
# Clear Homebrew cache
echo "Clearing cache..."
brew cleanup -s
echo "✅ Complete removal finished!"
echo "Safe to do fresh install now: brew tap zero8dotdev/tools && brew install warp-cli"Save as cleanup.sh and run:
chmod +x cleanup.sh
./cleanup.shbrew tap zero8dotdev/tools
brew install warp-cli- ✅ Automatic updates
- ✅ Easy uninstall
- ✅ One command
- ✅ Handles dependencies
git clone https://github.com/zero8dotdev/warp-cli.git
cd warp-cli
./install-complete.sh- ✅ Latest development version
- ❌ Manual updates needed
- ❌ Requires Rust toolchain
curl -fsSL https://raw.githubusercontent.com/zero8dotdev/warp-cli/main/install-from-github.sh | bash- ✅ Quick and easy
- ❌ Less control
- ❌ Manual updates needed
Recommendation: Use Homebrew (Method 1) for easiest management.
If you installed via Method 2 or 3 and want to switch to Homebrew:
# Step 1: Remove old installation
if [ -f /usr/local/bin/warp ]; then
rm /usr/local/bin/warp
echo "Removed source installation"
fi
# Step 2: Install via Homebrew
brew tap zero8dotdev/tools
brew install warp-cli
# Step 3: Verify
warp --versionHomebrew automatically updates when you run:
brew upgradeUpdate warp-cli specifically:
brew upgrade warp-clibrew outdated
# Shows packages with updates availablebrew update && brew upgradeAfter fresh install, run this verification script:
#!/bin/bash
echo "🔍 Verifying warp-cli installation..."
# Check binary
echo -n "✓ warp-cli installed: "
if command -v warp &> /dev/null; then
echo "$(warp --version)"
else
echo "❌ FAILED"
exit 1
fi
# Check daemon
echo -n "✓ WARP daemon running: "
if warp status &> /dev/null; then
echo "Yes"
else
echo "❌ FAILED - Try: sudo launchctl start com.cloudflare.warp.daemon"
exit 1
fi
# Test connection
echo -n "✓ Test connection: "
if warp up &> /dev/null; then
if warp status | grep -q "Connected"; then
echo "Connected ✓"
warp down &> /dev/null
else
echo "❌ Failed to connect"
exit 1
fi
else
echo "❌ Connection command failed"
exit 1
fi
# Check Homebrew tap
echo -n "✓ Homebrew tap configured: "
if brew tap-info zero8dotdev/tools &> /dev/null; then
echo "Yes"
else
echo "⚠️ Not found (re-add with: brew tap zero8dotdev/tools)"
fi
echo ""
echo "✅ All checks passed! warp-cli is ready to use."Save as verify.sh and run:
chmod +x verify.sh
./verify.shIf something goes wrong:
-
Check the logs:
warp logs
-
Run diagnostics:
warp diagnose
-
Try a fresh install: Follow the Complete Uninstall section above, then reinstall.
-
Check documentation:
- INSTALLATION.md - Detailed troubleshooting
- QUICKSTART.md - Basic setup
- DETAILS.md - Technical details
- Old installation completely removed
- Homebrew cache cleared
- New tap added (
zero8dotdev/tools) -
brew install warp-clicompleted successfully - WARP daemon is running
- warp-cli binary works (
warp --version) - Can connect to WARP (
warp up && warp down) - No error messages or warnings
- All verification checks pass
Once fresh install is verified:
-
Learn the basics:
warp --help warp status
-
Read documentation:
- QUICKSTART.md - 5-minute intro
- USAGE_EXAMPLES.md - Real examples
-
For developers:
- AGENTIC_DEVELOPMENT.md - Use WARP with AI agents
See INSTALLATION.md for comprehensive troubleshooting guide.