← 返回命令列表

Linux command

warp-cli 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Connect

warp-cli connect

Disconnect

warp-cli disconnect

Check status

warp-cli status

Register

warp-cli register

Set mode

warp-cli set-mode warp

Show settings

warp-cli settings

说明

warp-cli is the command-line interface for managing Cloudflare WARP, a VPN and secure DNS service that encrypts traffic between the device and Cloudflare's network. It provides commands to connect, disconnect, check status, and configure the WARP client. The client supports multiple connection modes including full WARP VPN mode that routes all traffic through Cloudflare's network, and DNS-over-HTTPS mode that only encrypts DNS queries for private name resolution. A WARP+ premium tier offers optimized routing through Cloudflare's Argo network for improved performance. Device registration is required before first use, and the warp-svc daemon must be running for the CLI to function. The tool is available on Linux, macOS, and Windows.

参数

connect
Connect to WARP.
disconnect
Disconnect.
status
Show status.
register
Register device.
set-mode _MODE_
Set connection mode.
settings
Show settings.

FAQ

What is the warp-cli command used for?

warp-cli is the command-line interface for managing Cloudflare WARP, a VPN and secure DNS service that encrypts traffic between the device and Cloudflare's network. It provides commands to connect, disconnect, check status, and configure the WARP client. The client supports multiple connection modes including full WARP VPN mode that routes all traffic through Cloudflare's network, and DNS-over-HTTPS mode that only encrypts DNS queries for private name resolution. A WARP+ premium tier offers optimized routing through Cloudflare's Argo network for improved performance. Device registration is required before first use, and the warp-svc daemon must be running for the CLI to function. The tool is available on Linux, macOS, and Windows.

How do I run a basic warp-cli example?

Run `warp-cli connect` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does connect do in warp-cli?

Connect to WARP.