Linux Terminal Glossary
›
Cloudflare
Cloudflare
122 commands
npx wrangler login
npx wrangler logout
npx wrangler whoami
npx wrangler whoami --json
npx wrangler auth token
npx wrangler auth token --json
npx wrangler init my-worker
npx wrangler init --yes
npx wrangler init --from-dash my-worker
npm create cloudflare@latest my-worker
npm create cloudflare@latest -- --template cloudflare/templates/hello-world
npx wrangler types
CLOUDFLARE_API_TOKEN=cfat_9f2a1c8e npx wrangler whoami
npx wrangler docs
npx wrangler dev
npx wrangler dev --port 3000
npx wrangler dev --ip 0.0.0.0
npx wrangler dev --remote
npx wrangler dev --test-scheduled
npx wrangler dev --tunnel
npx wrangler deploy
npx wrangler deploy --dry-run
npx wrangler deploy --minify
npx wrangler deploy --outdir dist
npx wrangler delete my-worker
npx wrangler versions upload
npx wrangler versions upload --tag release-2026-08-01
npx wrangler versions deploy 4d9c2b1af3e84a6d9b7c1e2f3a4b5c6d
npx wrangler versions deploy 4d9c2b1af3e84a6d9b7c1e2f3a4b5c6d@25
npx wrangler versions list
npx wrangler deployments list
npx wrangler rollback
npx wrangler rollback 4d9c2b1af3e84a6d9b7c1e2f3a4b5c6d
npx wrangler triggers deploy
npx wrangler tail my-worker
npx wrangler tail my-worker --format json
npx wrangler tail my-worker --status error
npx wrangler tail my-worker --search "DB_TIMEOUT"
npx wrangler secret put API_KEY
npx wrangler secret put API_KEY --name my-worker
echo "sk-live-9f2a" | npx wrangler secret put API_KEY
npx wrangler secret list
npx wrangler secret delete API_KEY
npx wrangler secret bulk secrets.json
npx wrangler kv namespace create GREETINGS
npx wrangler kv namespace create GREETINGS --binding GREETINGS
npx wrangler kv namespace list
npx wrangler kv namespace delete GREETINGS --namespace-id 2f1b3c4d5e6f7a8b9c0d1e2f3a4b5c6d
npx wrangler kv key put greeting "Hello world" --namespace-id 2f1b3c4d5e6f7a8b9c0d1e2f3a4b5c6d
npx wrangler kv key put config.json --path ./config.json --namespace-id 2f1b3c4d5e6f7a8b9c0d1e2f3a4b5c6d
npx wrangler kv key put coupon "SAVE20" --ttl 86400 --namespace-id 2f1b3c4d5e6f7a8b9c0d1e2f3a4b5c6d
npx wrangler kv key get greeting --namespace-id 2f1b3c4d5e6f7a8b9c0d1e2f3a4b5c6d
npx wrangler kv key get greeting --text --namespace-id 2f1b3c4d5e6f7a8b9c0d1e2f3a4b5c6d
npx wrangler kv key delete greeting --namespace-id 2f1b3c4d5e6f7a8b9c0d1e2f3a4b5c6d
npx wrangler kv key list --namespace-id 2f1b3c4d5e6f7a8b9c0d1e2f3a4b5c6d
npx wrangler kv bulk put ./kv-seeds.json --namespace-id 2f1b3c4d5e6f7a8b9c0d1e2f3a4b5c6d
npx wrangler kv bulk delete ./kv-keys.json --namespace-id 2f1b3c4d5e6f7a8b9c0d1e2f3a4b5c6d
npx wrangler kv namespace rename GREETINGS --new-name GREETINGS_V2
npx wrangler d1 create my-db
npx wrangler d1 create my-db --location weur
npx wrangler d1 list
npx wrangler d1 info my-db
npx wrangler d1 execute my-db --command "SELECT * FROM users LIMIT 10"
npx wrangler d1 execute my-db --file ./schema.sql
npx wrangler d1 execute my-db --remote --command "DELETE FROM sessions"
npx wrangler d1 migrations create my-db add-users-table
npx wrangler d1 migrations list my-db
npx wrangler d1 migrations apply my-db
npx wrangler d1 migrations apply my-db --remote
npx wrangler d1 export my-db --remote --output backup.sql
npx wrangler d1 time-travel info my-db
npx wrangler d1 time-travel restore my-db --timestamp 2026-08-01T12:00:00Z
npx wrangler d1 delete my-db
npx wrangler r2 bucket create my-assets
npx wrangler r2 bucket create my-assets --location WNAM
npx wrangler r2 bucket list
npx wrangler r2 bucket info my-assets
npx wrangler r2 bucket delete my-assets
npx wrangler r2 object put my-assets/logo.png --file ./logo.png
npx wrangler r2 object put my-assets/report.pdf --file ./report.pdf --content-type application/pdf
npx wrangler r2 object get my-assets/logo.png --file ./logo.png
npx wrangler r2 object delete my-assets/logo.png
npx wrangler queues create my-queue
npx wrangler queues list
npx wrangler queues info my-queue
npx wrangler queues consumer add my-queue my-worker
npx wrangler queues consumer add my-queue my-worker --batch-size 10 --message-retries 3
npx wrangler queues purge my-queue
npx wrangler queues delete my-queue
npx wrangler pages project create my-site
npx wrangler pages project create my-site --production-branch main
npx wrangler pages project list
npx wrangler pages project delete my-site
npx wrangler pages deploy ./dist
npx wrangler pages deploy ./dist --project-name my-site
npx wrangler pages deploy ./dist --branch staging
npx wrangler pages dev ./dist
npx wrangler pages deployment list --project-name my-site
npx wrangler pages deployment tail --project-name my-site
npx wrangler pages deployment delete 4d9c2b1af3e84a6d9b7c1e2f3a4b5c6d
npx wrangler pages secret put API_KEY
npx wrangler pages functions build ./functions
npx wrangler pages download config my-site
curl https://api.cloudflare.com/client/v4/user/tokens/verify -H 'Authorization: Bearer $CF_API_TOKEN' | jq
curl "https://api.cloudflare.com/client/v4/zones?name=example.com" -H 'Authorization: Bearer $CF_API_TOKEN' | jq '.result[0].id'
curl "https://api.cloudflare.com/client/v4/zones" -H 'Authorization: Bearer $CF_API_TOKEN' | jq '.result[].name'
curl "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/dns_records" -H 'Authorization: Bearer $CF_API_TOKEN' | jq '.result[] | {name, type, content}'
curl "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/dns_records?type=A" -H 'Authorization: Bearer $CF_API_TOKEN' | jq '.result[].name'
curl -X POST "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/dns_records" -H 'Authorization: Bearer $CF_API_TOKEN' -H 'Content-Type: application/json' -d '{"type":"A","name":"www","content":"1.2.3.4","ttl":1,"proxied":true}'
curl -X PATCH "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/dns_records/$RECORD_ID" -H 'Authorization: Bearer $CF_API_TOKEN' -H 'Content-Type: application/json' -d '{"content":"5.6.7.8"}'
curl -X DELETE "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/dns_records/$RECORD_ID" -H 'Authorization: Bearer $CF_API_TOKEN'
curl -X POST "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/purge_cache" -H 'Authorization: Bearer $CF_API_TOKEN' -H 'Content-Type: application/json' -d '{"purge_everything":true}'
curl -X POST "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/purge_cache" -H 'Authorization: Bearer $CF_API_TOKEN' -H 'Content-Type: application/json' -d '{"files":["https://example.com/css/app.css"]}'
curl -X PATCH "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/settings/ssl" -H 'Authorization: Bearer $CF_API_TOKEN' -H 'Content-Type: application/json' -d '{"value":"full"}'
curl "https://api.cloudflare.com/client/v4/accounts" -H 'Authorization: Bearer $CF_API_TOKEN' | jq '.result[].name'
curl "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/workers/scripts" -H 'Authorization: Bearer $CF_API_TOKEN' | jq '.result[].id'
curl "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/r2/buckets/$BUCKET_NAME/objects" -H 'Authorization: Bearer $CF_API_TOKEN' | jq '.result.objects[].key'
curl -X POST "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/pages/projects/my-site/domains" -H 'Authorization: Bearer $CF_API_TOKEN' -H 'Content-Type: application/json' -d '{"name":"docs.example.com"}'
curl -X POST "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/pages/projects/my-site/purge_build_cache" -H 'Authorization: Bearer $CF_API_TOKEN'
curl -X POST "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/purge_cache" -H 'X-Auth-Email: admin@example.com' -H 'X-Auth-Key: cfk_8f3a2b9c1d4e5f6a7b8c9d0e1f2a3b4c'
cloudflared tunnel --url http://localhost:3000
npx wrangler check startup
Search all 7,657 commands
instead.