

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
123456# Cloudflare Wrangler CLI Reference Guide78**Your Task: When interacting with Cloudflare Workers, Pages, or other Cloudflare developer platform resources via the command line, consult this reference guide for the `wrangler` CLI. Use this information to construct appropriate `wrangler` commands based on the user's objectives.**910*This document is based on `wrangler` CLI help output and provides a comprehensive overview of its commands and structure. For the most specific details on any subcommand or its options, you can also execute `wrangler <command> [subcommand] --help` in a terminal environment if available.*1112## I. Top-Level Commands1314- `wrangler docs [search...]` — Open Wrangler's command documentation in your browser.15- `wrangler init [name]` — Initialize a basic Worker project.16- `wrangler dev [script]` — Start a local development server for your Worker.17- `wrangler deploy [script]` — Deploy your Worker to Cloudflare.18- `wrangler deployments` — List and view current and past deployments.19- `wrangler rollback [version-id]` — Rollback a Worker to a previous deployment version.20- `wrangler versions` — List, view, upload, and deploy specific Worker versions.21- `wrangler triggers` — Update deployment triggers [experimental].22- `wrangler delete [script]` — Delete a Worker from Cloudflare.23- `wrangler tail [worker]` — Start a real-time log tailing session for a Worker.24- `wrangler secret` — Manage secrets for a Worker (deprecated for new projects, prefer `.dev.vars` or Secrets Store).25- `wrangler types [path]` — Generate TypeScript type definitions from your Worker's configuration (`wrangler.toml`).2627## II. Resource Management Commands2829- `wrangler kv` — Manage Workers KV Namespaces (key-value store).30- `wrangler queues` — Manage Workers Queues (message queues).31- `wrangler r2` — Manage R2 buckets and objects (object storage).32- `wrangler d1` — Manage Workers D1 databases (serverless SQL).33- `wrangler vectorize` — Manage Vectorize indexes (vector embeddings database).34- `wrangler hyperdrive` — Manage Hyperdrive database accelerators.35- `wrangler cert` — Manage client mTLS certificates and CA certificate chains [open-beta].36- `wrangler pages` — Configure and manage Cloudflare Pages projects.37- `wrangler mtls-certificate` — Manage certificates for mTLS connections between services.38- `wrangler pubsub` — Manage Pub/Sub brokers for real-time messaging [private beta].39- `wrangler dispatch-namespace` — Manage dispatch namespaces for Worker-to-Worker communication.40- `wrangler ai` — Manage AI models and deployments on Workers AI.41- `wrangler workflows` — Manage Cloudflare Workflows [generally available].42- `wrangler pipelines` — Manage Cloudflare Pipelines [open-beta].43- `wrangler login` — Authenticate `wrangler` with your Cloudflare account.44- `wrangler logout` — Log out from Cloudflare.45- `wrangler whoami` — Retrieve information about the currently authenticated Cloudflare user.46- `wrangler secrets-store` — Manage secrets using the centralized Secrets Store [alpha].4748---4950## III. Global Flags (Applicable to most commands)5152- `-c, --config <file>` — Path to a custom `wrangler.toml` configuration file.53- `--cwd <dir>` — Run `wrangler` as if it were started in the specified directory.54- `-e, --env <env>` — Specify an environment to use (defined in `wrangler.toml`). Affects operations and selection of `.env`/`.dev.vars` files.55- `-h, --help` — Show help information for the command or subcommand.56- `-v, --version` — Show `wrangler` CLI version number.5758---5960## IV. Example Subcommand Structures (Illustrative)6162This section shows the hierarchical structure of some common resource management commands. Use `wrangler <command> <subcommand> --help` for full options at each level.6364### `wrangler kv` (Workers KV)65- `wrangler kv:namespace create <NAMESPACE_NAME>`66- `wrangler kv:namespace list`67- `wrangler kv:namespace delete --namespace-id <ID>`68- `wrangler kv:key put <KEY> [VALUE] --namespace-id <ID> [--path --preview]`69- `wrangler kv:key list --namespace-id <ID>`70- `wrangler kv:key get <KEY> --namespace-id <ID>`71- `wrangler kv:key delete <KEY> --namespace-id <ID>`72- `wrangler kv:bulk put <FILENAME.JSON> --namespace-id <ID>` (File format: `[{"key":"foo", "value":"bar"},...]`)73- `wrangler kv:bulk delete <FILENAME.JSON> --namespace-id <ID>` (File format: `["foo", "bar", ...]`)7475### `wrangler queues` (Workers Queues)76- `wrangler queues list`77- `wrangler queues create <QUEUE_NAME>`78- `wrangler queues update <QUEUE_NAME> [--consumer <WORKER_NAME> --consumer-batch-size <SIZE> ...]`79- `wrangler queues delete <QUEUE_NAME>`80- `wrangler queues info <QUEUE_NAME>`81- `wrangler queues consumer add <QUEUE_NAME> <WORKER_NAME> [--batch-size <SIZE> ...]`82- `wrangler queues consumer remove <QUEUE_NAME> <WORKER_NAME>`83- `wrangler queues purge <QUEUE_NAME>`8485### `wrangler r2` (R2 Object Storage)86- `wrangler r2 object get <BUCKET_NAME>/<OBJECT_KEY> [--file <OUTPUT_FILE>]`87- `wrangler r2 object put <BUCKET_NAME>/<OBJECT_KEY> --file <SOURCE_FILE> [--content-type <MIME>]`88- `wrangler r2 object delete <BUCKET_NAME>/<OBJECT_KEY>`89- `wrangler r2 bucket create <BUCKET_NAME>`90- `wrangler r2 bucket list`91- `wrangler r2 bucket info <BUCKET_NAME>`92- `wrangler r2 bucket delete <BUCKET_NAME>`9394### `wrangler d1` (D1 Serverless SQL)95- `wrangler d1 list`96- `wr wrangler d1 info <DATABASE_NAME>`97- `wrangler d1 create <DATABASE_NAME>`98- `wrangler d1 delete <DATABASE_NAME>`99- `wrangler d1 execute <DATABASE_NAME> --command "SELECT * FROM users;"`100- `wrangler d1 execute <DATABASE_NAME> --file ./migrations/0001_init.sql`101- `wrangler d1 backup list <DATABASE_NAME>`102- `wrangler d1 backup create <DATABASE_NAME>`103- `wrangler d1 backup restore <DATABASE_NAME> <BACKUP_ID>`104- `wrangler d1 migrations list <DATABASE_NAME>`105- `wrangler d1 migrations apply <DATABASE_NAME>`106107### `wrangler vectorize` (Vectorize Database)108- `wrangler vectorize create <INDEX_NAME> --dimensions <NUMBER> --metric <METRIC_TYPE>`109- `wrangler vectorize delete <INDEX_NAME>`110- `wrangler vectorize get <INDEX_NAME>`111- `wrangler vectorize list`112- `wrangler vectorize query <INDEX_NAME> --vector "[0.1, 0.2, ...]" [--top-k <NUMBER>]`113- `wrangler vectorize insert <INDEX_NAME> --file <VECTORS_FILE.JSON>` (File: `[{"id":"vec1", "values":[...], "metadata":{...}}, ...]`)114115*(Other subcommand trees like `hyperdrive`, `pages`, `ai`, etc., follow similar patterns. Consult `wrangler <command> --help` for specifics.)*116117---118119**REMEMBER: This guide is your primary reference for `wrangler` CLI commands, their structure, and common resource management tasks. Use it to accurately construct commands to interact with the Cloudflare developer platform. For detailed options on any specific command, the `--help` flag is your best friend (e.g., `wrangler r2 bucket create --help`).**120
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| skillrecordings/egghead-next.cursor/rules/_global.mdc · 1.4k | Cursor rules | teststyletypesgit+1 | 89/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/benchmarks-create.mdc · 1.4k | Cursor rules | no sections | 38/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/cli-github-search.mdc · 1.4k | Cursor rules | no sections | 51/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/docs-openapi-spec.mdc · 1.4k | Cursor rules | archapi | 58/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/docs-prd.mdc · 1.4k | Cursor rules | archagent-behaviourdocs | 58/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/docs-structure.mdc · 1.4k | Cursor rules | archdocs | 49/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/docs-sync.mdc · 1.4k | Cursor rules | docs | 45/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/docs-tech-stack.mdc · 1.4k | Cursor rules | testlint-formatarchagent-behaviour+1 | 58/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/gh-docs-sync.mdc · 1.4k | Cursor rules | docs | 53/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/gh-task-continue.mdc · 1.4k | Cursor rules | git | 65/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/gh-task-plan.mdc · 1.4k | Cursor rules | teststylearchtypes+2 | 96/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/logging-session.mdc · 1.4k | Cursor rules | lint-formatstylearchgit | 62/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/pnpm-fixes.mdc · 1.4k | Cursor rules | setupbuildstyledependencies | 68/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/project-todos-next.mdc · 1.4k | Cursor rules | docs | 45/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/project-update-user-rules.mdc · 1.4k | Cursor rules | buildtestlint-formatstyle+7 | 96/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/pull-request-create.mdc · 1.4k | Cursor rules | git | 69/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/scripts-create.mdc · 1.4k | Cursor rules | types | 53/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/task-next.mdc · 1.4k | Cursor rules | no sections | 45/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/task-outline.mdc · 1.4k | Cursor rules | do-not | 52/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/zen-coding.mdc · 1.4k | Cursor rules | no sections | 39/100 | 14 days ago |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 14 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 46 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 14 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 14 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 14 days ago | |
| bybren-llc/safe-agentic-workflow.cursor/rules/10-backend-python.mdc · 399 | Cursor rules | testlint-formatstylegit+4 | 97/100 | today |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/skillrecordings-egghead-next-cursor-rules-cli-wrangler)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.