How to install warp-cli linux ubuntu 22.04


How to install warp-cli linux ubuntu 22.04

Posted on 7th Mar 2025

Just a quick guide on how to install and enable warp-cli, and test its working correctly

How to Install Warp CLI on Ubuntu 22.04

  1. Add the Cloudflare GPG key:

    curl https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg
    
  2. Add the Cloudflare repository to your APT sources:

    echo "deb [arch=amd64 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 your package list and install the cloudflare-warp package:

    sudo apt-get update && sudo apt-get install cloudflare-warp
    

After installation, you can register the client and connect to WARP:

warp-cli registration new
warp-cli connect

To verify that WARP is active, run:

curl https://www.cloudflare.com/cdn-cgi/trace/

Ensure that the output includes warp=on to confirm that WARP is enabled. If you encounter issues, you might need to run warp-svc & (add & to run in the background) before registering and connecting.

For more detailed troubleshooting, you can use the warp-diag command to generate logs and submit support tickets:

sudo warp-diag

This command will create a warp-debugging-info.zip file in the directory from which it was run, which can be used for debugging purposes

Tags

linux cloudflare warp-cli ubuntu

Uploaded files
    No files found for this post.

copyright © 2025 Autonetix.co | Autonetix.au