Documentation Index Fetch the complete documentation index at: https://developers.stormtrust.net/cloudflare-one/llms.txt Use this file to discover all available pages before exploring further.
Download cloudflared on your machine. Visit the downloads page to find the right package for your OS.
Rename the executable to cloudflared.exe
In PowerShell, change directory to your Downloads folder and run .\cloudflared.exe --version. It should output the version of cloudflared. Note that cloudflared.exe could be cloudflared-windows-amd64.exe or cloudflared-windows-386.exe if you have not renamed it.
Add Cloudflare's apt repo to your apt repositories:
echo "deb [signed-by=/usr/share/keyrings/cloudflare-main.gpg] https://pkg.cloudflare.com/cloudflared any main" | sudo tee /etc/apt/sources.list.d/cloudflared.list
Use the rpm package manager to install cloudflared on compatible machines.
Add Cloudflare's repository:
curl -fsSl https://pkg.cloudflare.com/cloudflared.repo | sudo tee /etc/yum.repos.d/cloudflared.repo
Update repositories and install cloudflared:
sudo yum update && sudo yum install cloudflared
Arch Linux
cloudflared is in the Arch Linux community repository ↗.
Use pacman to install cloudflared on compatible machines.
pacman -Syu cloudflared
Other
Alternatively you can download the cloudflared binary or the linux packages to your machine and install manually. Visit the downloads page to find the right package for your OS.
To build the latest version of cloudflared from source:
Create a tunnel by establishing a persistent relationship between the name you provide and a UUID for your tunnel. At this point, no connection is active within the tunnel yet.
From the output of the command, take note of the tunnel's UUID and the path to your tunnel's credentials file.
Confirm that the tunnel has been successfully created by running:
cloudflared tunnel list
4. Create a configuration file
In your .cloudflared directory, create a config.yml file using any text editor. This file will configure the tunnel to route traffic from a given origin to the hostname of your choice.