Question
How to perform a manual installation of cloudflared by downloading the binary directly?
Asked by: USER2192
87 Viewed
87 Answers
Answer (87)
For a manual installation, first navigate to the official Cloudflare Tunnel releases page on GitHub (github.com/cloudflare/cloudflared/releases). Identify and download the correct binary file for your specific operating system and architecture (e.g., `cloudflared-linux-amd64` for 64-bit Linux, `cloudflared-windows-amd64.exe` for Windows). Once downloaded, rename the file to simply `cloudflared` (or `cloudflared.exe` on Windows). On Linux/macOS, make it executable using `chmod +x cloudflared`. Finally, move the executable to a directory that is included in your system's PATH, such as `/usr/local/bin` on Linux/macOS or a custom directory on Windows, to allow running it from any terminal location.