Cloudflare WARP is a secure, fast DNS and VPN-based service that improves privacy and internet performance. In this guide, you’ll learn how to install and set up Cloudflare WARP on Ubuntu 25.04 using the official repository, with clear steps and simple commands optimized for beginners and SEO.
STEP 1: Update Your System
Keeping your system up to date ensures compatibility and prevents package conflicts during installation.
sudo apt update && sudo apt upgrade -y
STEP 2: Add Cloudflare WARP APT Repository
In this step, you add Cloudflare’s official APT repository to your Ubuntu system so you can install and receive updates for WARP securely and directly from the trusted source.
curl -fsSL https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --dearmor -o /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg
STEP 3: Install Cloudflare WARP
After adding the official Cloudflare repository, you can now install Cloudflare WARP on Ubuntu 25.04 using the package manager, which ensures a secure, stable, and up-to-date installation suitable for both beginners and advanced users.
sudo apt update
sudo apt install cloudflare-warp -y
STEP 4: Register Your Device
After installing Cloudflare WARP, you must register your device so it can securely connect to Cloudflare’s network and activate the WARP service properly.
warp-cli register
STEP 5: Connect to WARP
After registering your device, this final step shows you how to activate the Cloudflare WARP connection so your system starts using WARP’s secure and optimized network immediately.
warp-cli connect
STEP 6: Check WARP Status
After connecting to Cloudflare WARP, it’s important to verify that the service is running correctly and your device is securely connected, which helps ensure proper functionality and confirms that traffic is being routed through WARP as expected.
warp-cli status