Skip to content

Instantly share code, notes, and snippets.

@danielrosehill
Created November 23, 2025 10:56
Show Gist options
  • Select an option

  • Save danielrosehill/950f5ca8f61c9e8e5a42548457e639ff to your computer and use it in GitHub Desktop.

Select an option

Save danielrosehill/950f5ca8f61c9e8e5a42548457e639ff to your computer and use it in GitHub Desktop.
Installing Cloudflare WARP on Ubuntu - Complete Guide

Installing Cloudflare WARP on Ubuntu

This guide provides step-by-step instructions for installing Cloudflare WARP on Ubuntu Linux.

Official Repository

For the most up-to-date installation instructions, always refer to the official Cloudflare repository: https://pkg.cloudflareclient.com/#ubuntu

Installation Steps

1. Add Cloudflare GPG Key

curl -fsSL https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg

2. Add the Cloudflare WARP Repository

echo "deb [signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/cloudflare-client.list

3. Update Package Lists

sudo apt update

4. Install Cloudflare WARP

sudo apt install cloudflare-warp

Post-Installation

Register the WARP Client

warp-cli registration new

Connect to WARP

warp-cli connect

Check Connection Status

warp-cli status

Common Commands

  • Register: warp-cli registration new
  • Connect: warp-cli connect
  • Disconnect: warp-cli disconnect
  • Status: warp-cli status
  • Settings: warp-cli settings
  • Enable/Disable: warp-cli enable-always-on / warp-cli disable-always-on

Troubleshooting

Check Service Status

sudo systemctl status warp-svc

Restart WARP Service

sudo systemctl restart warp-svc

View Logs

journalctl -u warp-svc -f

Additional Resources


Note: This gist was generated with Claude Code. Please verify the commands and consult the official Cloudflare documentation for the most current installation procedures and troubleshooting guidance.

@robang74

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment