Repository navigation
[Tunnel] Add Cloudflare CLI (cf) commands as the primary option - #36014
Merged
nikitacano merged 2 commits intoDec 3, 2026
Merged
Conversation
This was referenced Dec 3, 2026
nikitacano
reviewed
Dec 3, 2026
Contributor
There was a problem hiding this comment.
We should take this doc out of locally managed tunnels section.
nikitacano
approved these changes
Dec 3, 2026
JulioJPinto
marked this pull request as ready for review
December 3, 2026 16:57
Contributor
AI Review✅ Reviewed Resolved (1) · Dismissed (0)
Commands
|
JulioJPinto
force-pushed
the
docs/cf-cli-tunnels
branch
from
December 3, 2026 17:03
afe9b5c to
4a0e96d
Compare
1 of 2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Cloudflare CLI (
cf) commands to the Tunnel docs. Where a Dashboard option exists, the Dashboard tab stays first and Cloudflare CLI is second. Everywhere else, Cloudflare CLI is the first (default) tab, ahead ofcloudflaredand the API.Every
cf tunnelsoperation (as ofcf1.0.0-rc.7) is now documented on at least one page, exceptcf tunnels hostnames, which is left out because the feature isn't documented yet.Pages
cf tunnels create,token get,config update/get,cf dns records create,cf tunnels run --tokencf tunnels quick-start, including--allowed-maillogin,create --config-source local --tunnel-secret(plus credentials file),list,run,get,connections listcf tunnelsreference in a Cloudflare CLI tab. The existingcloudflaredpartial moves to a second tab.cf tunnels list --status,tail(with filters),diag,readytoken get,connections cleanuptoken get+run --token, andconnections listcf tunnels run --log-level debugAll tab groups use the standard
dashPlusAPIsync key.Mesh pages will follow in a separate PR.
Notes
cfrunscloudflaredfor you. It usesCLOUDFLARED_PATHfirst, thenPATH, and offers to downloadcloudflaredif it finds neither. The docs say this where it matters.cfhas no equivalent ofcloudflared tunnel route dns, so the DNS step usescf dns records create. It also has no--configflag for custom config paths, so that case still points tocloudflared.