cloudflare · Cloudflare Workers Docs
Wrangler Workers
A reference guide for Wrangler CLI commands used to initialize, develop, deploy, and manage Cloudflare Workers projects.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Wrangler Workers
A reference guide for Wrangler CLI commands used to initialize, develop, deploy, and manage Cloudflare Workers projects.
When To Use
Use when you need to know the specific CLI flags and syntax for initializing a new project, running a local development server, or managing secrets via Wrangler.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-wrangler-commands-workflow-guide.md | A reference guide of Wrangler CLI commands used for creating, developing, deploying, and managing Cloudflare Workers. | Questions about a reference guide of Wrangler CLI commands used for creating, developing, deploying, and managing Cloudflare Workers. |
examples/workers-wrangler-commands-cloudflare-workers-wrangler-init-command.text | An example of the wrangler init command used to initialize a new Cloudflare Workers project. | Exact payloads, commands, or snippets shown in An example of the wrangler init command used to initialize a new Cloudflare Workers project. |
examples/workers-wrangler-commands-cloudflare-wrangler-dev-command-usage.text | A text representation of the wrangler dev command syntax and its available options for local development. | Exact payloads, commands, or snippets shown in A text representation of the wrangler dev command syntax and its available options for local development. |
examples/workers-wrangler-commands-cloudflare-workers-wrangler-deploy-command.text | A text example demonstrating the syntax and usage of the wrangler deploy command for Cloudflare Workers. | Exact payloads, commands, or snippets shown in A text example demonstrating the syntax and usage of the wrangler deploy command for Cloudflare Workers. |
examples/workers-wrangler-commands-wrangler-delete-worker-command.text | A text example demonstrating the syntax and usage of the wrangler delete command for removing Cloudflare Workers. | Exact payloads, commands, or snippets shown in A text example demonstrating the syntax and usage of the wrangler delete command for removing Cloudflare Workers. |
examples/workers-wrangler-commands-cloudflare-workers-wrangler-setup-command.text | A text representation of the npx wrangler setup command used to initialize a Cloudflare Workers environment. | Exact payloads, commands, or snippets shown in A text representation of the npx wrangler setup command used to initialize a Cloudflare Workers environment. |
examples/workers-wrangler-commands-cloudflare-wrangler-workers-setup-command.text | A text representation of the pnpm wrangler setup command used to initialize a Cloudflare Workers project. | Exact payloads, commands, or snippets shown in A text representation of the pnpm wrangler setup command used to initialize a Cloudflare Workers project. |
examples/workers-wrangler-commands-cloudflare-workers-wrangler-setup-command-2.text | A text representation of the yarn wrangler setup command used to initialize the Wrangler CLI environment. | Exact payloads, commands, or snippets shown in A text representation of the yarn wrangler setup command used to initialize the Wrangler CLI environment. |
examples/workers-wrangler-commands-cloudflare-wrangler-workers-secret-put-command.text | A command line example demonstrating how to use the wrangler secret put command to upload a secret to a Cloudflare Worker. | Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the wrangler secret put command to upload a secret to a Cloudflare Wo... |
examples/workers-wrangler-commands-wrangler-workers-secret-put-command.text | A command line example demonstrating how to use the wrangler secret put operation to upload a secret to a Cloudflare Worker. | Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the wrangler secret put operation to upload a secret to a Cloudflare... |
examples/workers-wrangler-commands-cloudflare-wrangler-workers-secret-put-command-2.text | A text example demonstrating the command syntax for adding a secret to a Cloudflare Worker using the Wrangler CLI. | Exact payloads, commands, or snippets shown in A text example demonstrating the command syntax for adding a secret to a Cloudflare Worker using the Wrangler CLI. |
examples/workers-wrangler-commands-cloudflare-workers-wrangler-secret-put-command.text | A command line example demonstrating how to use the wrangler secret put operation to upload a secret to a Cloudflare Worker. | Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the wrangler secret put operation to upload a secret to a Cloudflare... |
examples/workers-wrangler-commands-cloudflare-workers-wrangler-secret-creation-cl.text | A CLI interaction demonstration showing the process of creating and uploading a secret value for a Cloudflare Worker using the Wrangler command line tool. | Exact payloads, commands, or snippets shown in A CLI interaction demonstration showing the process of creating and uploading a secret value for a Cloudflare Worker... |
examples/workers-wrangler-commands-wrangler-workers-secret-put-private-key.text | A command line example demonstrating how to use wrangler secret put to upload a private key to a Cloudflare Worker. | Exact payloads, commands, or snippets shown in A command line example demonstrating how to use wrangler secret put to upload a private key to a Cloudflare Worker. |
examples/workers-wrangler-commands-cloudflare-workers-wrangler-secret-delete-comm.text | A text example demonstrating the command syntax for deleting a secret using the Wrangler CLI. | Exact payloads, commands, or snippets shown in A text example demonstrating the command syntax for deleting a secret using the Wrangler CLI. |
examples/workers-wrangler-commands-cloudflare-workers-wrangler-secret-delete-comm-2.text | A command line example demonstrating how to use the Wrangler CLI to delete a secret from a Cloudflare Worker. | Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the Wrangler CLI to delete a secret from a Cloudflare Worker. |
examples/workers-wrangler-commands-cloudflare-wrangler-workers-secret-delete-comm.text | A text example demonstrating the command to delete a secret from a Cloudflare Worker using the Wrangler CLI. | Exact payloads, commands, or snippets shown in A text example demonstrating the command to delete a secret from a Cloudflare Worker using the Wrangler CLI. |
examples/workers-wrangler-commands-cloudflare-wrangler-workers-secret-list-comman.text | A text example demonstrating the command to list secrets for a Cloudflare Worker using the Wrangler CLI. | Exact payloads, commands, or snippets shown in A text example demonstrating the command to list secrets for a Cloudflare Worker using the Wrangler CLI. |
examples/workers-wrangler-commands-cloudflare-wrangler-workers-secret-list-comman-2.text | A command line example demonstrating how to list secrets for a Cloudflare Worker using the Wrangler CLI. | Exact payloads, commands, or snippets shown in A command line example demonstrating how to list secrets for a Cloudflare Worker using the Wrangler CLI. |
examples/workers-wrangler-commands-cloudflare-workers-wrangler-secret-list-comman.text | A text example demonstrating the command to list secrets for a Cloudflare Worker using the Wrangler CLI. | Exact payloads, commands, or snippets shown in A text example demonstrating the command to list secrets for a Cloudflare Worker using the Wrangler CLI. |
examples/workers-wrangler-commands-cloudflare-workers-wrangler-workers-command.text | A text example demonstrating the syntax and configuration for the wrangler workers command. | Exact payloads, commands, or snippets shown in A text example demonstrating the syntax and configuration for the wrangler workers command. |
examples/workers-wrangler-commands-wrangler-workers-secret-bulk-command.text | An example of the npx wrangler secret bulk command used to upload multiple secrets to a Cloudflare Worker. | Exact payloads, commands, or snippets shown in An example of the npx wrangler secret bulk command used to upload multiple secrets to a Cloudflare Worker. |
examples/workers-wrangler-commands-wrangler-workers-secret-bulk-command-2.text | An example demonstrating the syntax for using the pnpm wrangler secret bulk command to upload multiple secrets. | Exact payloads, commands, or snippets shown in An example demonstrating the syntax for using the pnpm wrangler secret bulk command to upload multiple secrets. |
examples/workers-wrangler-commands-wrangler-workers-secret-bulk-command-3.text | An example demonstrating the syntax for using the wrangler workers secret bulk command to upload multiple secrets. | Exact payloads, commands, or snippets shown in An example demonstrating the syntax for using the wrangler workers secret bulk command to upload multiple secrets. |
examples/workers-wrangler-commands-cloudflare-workers-wrangler-secrets.text | A text representation of secret key-value pairs used for managing environment secrets in Cloudflare Workers via Wrangler. | Exact payloads, commands, or snippets shown in A text representation of secret key-value pairs used for managing environment secrets in Cloudflare Workers via Wrang... |
examples/workers-wrangler-commands-wrangler-workers-secret-bulk-upload-command.text | A command line instruction demonstrating how to use the wrangler secret bulk command to upload secrets from a JSON file. | Exact payloads, commands, or snippets shown in A command line instruction demonstrating how to use the wrangler secret bulk command to upload secrets from a JSON file. |
examples/workers-wrangler-commands-cloudflare-wrangler-workers-secret-upload-cli.text | CLI output demonstrating the successful and failed creation of secrets for a Cloudflare Worker using the Wrangler command. | Exact payloads, commands, or snippets shown in CLI output demonstrating the successful and failed creation of secrets for a Cloudflare Worker using the Wrangler com... |
examples/workers-wrangler-commands-cloudflare-wrangler-tail-worker-command.text | An example demonstrating the usage of the npx wrangler tail command to monitor worker logs. | Exact payloads, commands, or snippets shown in An example demonstrating the usage of the npx wrangler tail command to monitor worker logs. |
examples/workers-wrangler-commands-cloudflare-wrangler-tail-command.text | An example demonstrating the usage of the pnpm wrangler tail command to view real-time logs for a Cloudflare Worker. | Exact payloads, commands, or snippets shown in An example demonstrating the usage of the pnpm wrangler tail command to view real-time logs for a Cloudflare Worker. |
examples/workers-wrangler-commands-cloudflare-wrangler-tail-command-2.text | An example of using the wrangler tail command to view real-time logs for a Cloudflare Worker. | Exact payloads, commands, or snippets shown in An example of using the wrangler tail command to view real-time logs for a Cloudflare Worker. |
examples/workers-wrangler-commands-wrangler-workers-versions-upload-command.text | A command line example demonstrating how to use npx wrangler versions upload to upload a worker script version. | Exact payloads, commands, or snippets shown in A command line example demonstrating how to use npx wrangler versions upload to upload a worker script version. |
examples/workers-wrangler-commands-wrangler-workers-versions-upload-command-2.text | An example of the pnpm wrangler versions upload command used to upload a worker script version. | Exact payloads, commands, or snippets shown in An example of the pnpm wrangler versions upload command used to upload a worker script version. |
examples/workers-wrangler-commands-wrangler-workers-versions-upload-command-3.text | An example of the yarn wrangler versions upload command used to upload worker script versions. | Exact payloads, commands, or snippets shown in An example of the yarn wrangler versions upload command used to upload worker script versions. |
examples/workers-wrangler-commands-wrangler-workers-versions-deploy-command.text | An example of the npx wrangler versions deploy command used to deploy specific worker versions. | Exact payloads, commands, or snippets shown in An example of the npx wrangler versions deploy command used to deploy specific worker versions. |
examples/workers-wrangler-commands-wrangler-workers-versions-deploy-command-2.text | An example of the command syntax used to deploy specific versions of a Cloudflare Worker using the Wrangler CLI. | Exact payloads, commands, or snippets shown in An example of the command syntax used to deploy specific versions of a Cloudflare Worker using the Wrangler CLI. |
examples/workers-wrangler-commands-cloudflare-wrangler-workers-versions-deploy-co.text | A command-line example demonstrating how to use the wrangler versions deploy command to deploy specific worker versions. | Exact payloads, commands, or snippets shown in A command-line example demonstrating how to use the wrangler versions deploy command to deploy specific worker versions. |
examples/workers-wrangler-commands-wrangler-workers-versions-list-command.text | A command line example demonstrating how to list available versions of a Cloudflare Worker using the Wrangler CLI. | Exact payloads, commands, or snippets shown in A command line example demonstrating how to list available versions of a Cloudflare Worker using the Wrangler CLI. |
examples/workers-wrangler-commands-wrangler-workers-versions-list-command-2.text | A command line example demonstrating how to list available versions of Wrangler Workers using pnpm. | Exact payloads, commands, or snippets shown in A command line example demonstrating how to list available versions of Wrangler Workers using pnpm. |
examples/workers-wrangler-commands-cloudflare-wrangler-workers-versions-list-comm.text | A command line example demonstrating how to use the wrangler workers versions list command to view available versions. | Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the wrangler workers versions list command to view available versions. |
examples/workers-wrangler-commands-cloudflare-wrangler-workers-versions-view-comm.text | A command line example demonstrating how to use the wrangler versions view command to inspect worker versions. | Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the wrangler versions view command to inspect worker versions. |
examples/workers-wrangler-commands-wrangler-workers-versions-view-command.text | A command line example demonstrating how to use the wrangler versions view command to inspect worker versions. | Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the wrangler versions view command to inspect worker versions. |
examples/workers-wrangler-commands-cloudflare-wrangler-workers-versions-view-comm-2.text | A command-line example demonstrating how to use the wrangler workers versions view command to list available versions of a worker. | Exact payloads, commands, or snippets shown in A command-line example demonstrating how to use the wrangler workers versions view command to list available versions... |
examples/workers-wrangler-commands-cloudflare-wrangler-workers-version-secret-put.text | A command line example demonstrating how to use the wrangler versions secret put operation to upload a secret key to a Cloudflare Worker. | Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the wrangler versions secret put operation to upload a secret key to... |
examples/workers-wrangler-commands-wrangler-workers-versions-secret-put-command.text | A command line example demonstrating how to use the wrangler versions secret put operation to upload a secret key to a Cloudflare Worker. | Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the wrangler versions secret put operation to upload a secret key to... |
examples/workers-wrangler-commands-wrangler-workers-versions-secret-put-command-2.text | A command line example demonstrating how to use the wrangler versions secret put operation to upload a secret key to a Cloudflare Worker. | Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the wrangler versions secret put operation to upload a secret key to... |
examples/workers-wrangler-commands-wrangler-workers-versions-secret-delete-comman.text | A command line example demonstrating how to use the Wrangler CLI to delete a specific secret version from a Cloudflare Worker. | Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the Wrangler CLI to delete a specific secret version from a Cloudflar... |
examples/workers-wrangler-commands-wrangler-workers-versions-secret-delete-comman-2.text | A command-line example demonstrating how to delete a specific secret version using the Wrangler CLI for Cloudflare Workers. | Exact payloads, commands, or snippets shown in A command-line example demonstrating how to delete a specific secret version using the Wrangler CLI for Cloudflare Wo... |
examples/workers-wrangler-commands-wrangler-workers-version-secret-delete-command.text | A text example demonstrating the command to delete a specific secret from a Cloudflare Workers version using the Wrangler CLI. | Exact payloads, commands, or snippets shown in A text example demonstrating the command to delete a specific secret from a Cloudflare Workers version using the Wran... |
examples/workers-wrangler-commands-wrangler-workers-versions-secret-bulk-command.text | An example of the command syntax for bulk uploading secrets to Cloudflare Workers using the Wrangler CLI. | Exact payloads, commands, or snippets shown in An example of the command syntax for bulk uploading secrets to Cloudflare Workers using the Wrangler CLI. |
examples/workers-wrangler-commands-wrangler-workers-versions-secret-bulk-command-2.text | An example of the command syntax used to bulk upload secrets for Cloudflare Workers using the Wrangler CLI. | Exact payloads, commands, or snippets shown in An example of the command syntax used to bulk upload secrets for Cloudflare Workers using the Wrangler CLI. |
examples/workers-wrangler-commands-wrangler-workers-versions-secret-bulk-command-3.text | An example of the command used to bulk upload secrets for Cloudflare Workers using the Wrangler CLI. | Exact payloads, commands, or snippets shown in An example of the command used to bulk upload secrets for Cloudflare Workers using the Wrangler CLI. |
examples/workers-wrangler-commands-wrangler-workers-triggers-deploy-command.text | A text example demonstrating the usage of the npx wrangler triggers deploy command for Cloudflare Workers. | Exact payloads, commands, or snippets shown in A text example demonstrating the usage of the npx wrangler triggers deploy command for Cloudflare Workers. |
examples/workers-wrangler-commands-wrangler-workers-triggers-deploy-command-2.text | A text example demonstrating the command to deploy Cloudflare Workers using the wrangler triggers deploy operation. | Exact payloads, commands, or snippets shown in A text example demonstrating the command to deploy Cloudflare Workers using the wrangler triggers deploy operation. |
examples/workers-wrangler-commands-cloudflare-workers-wrangler-triggers-deploy-co.text | A command line example demonstrating how to use the wrangler triggers deploy command to deploy Cloudflare Workers. | Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the wrangler triggers deploy command to deploy Cloudflare Workers. |
examples/workers-wrangler-commands-wrangler-workers-deployments-list-command.text | A command line example demonstrating how to use the wrangler deployments list command to view worker deployments. | Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the wrangler deployments list command to view worker deployments. |
examples/workers-wrangler-commands-wrangler-workers-deployments-list-command-2.text | A command line example demonstrating how to list deployments for Cloudflare Workers using the Wrangler CLI. | Exact payloads, commands, or snippets shown in A command line example demonstrating how to list deployments for Cloudflare Workers using the Wrangler CLI. |
examples/workers-wrangler-commands-wrangler-workers-deployments-list-command-3.text | A command line example demonstrating how to list deployments for Cloudflare Workers using the Wrangler CLI. | Exact payloads, commands, or snippets shown in A command line example demonstrating how to list deployments for Cloudflare Workers using the Wrangler CLI. |
examples/workers-wrangler-commands-wrangler-workers-deployments-status-command.text | A command line example demonstrating how to check the deployment status of Cloudflare Workers using the Wrangler CLI. | Exact payloads, commands, or snippets shown in A command line example demonstrating how to check the deployment status of Cloudflare Workers using the Wrangler CLI. |
examples/workers-wrangler-commands-wrangler-workers-deployment-status-command.text | A command line example demonstrating how to check the deployment status of Cloudflare Workers using the Wrangler CLI. | Exact payloads, commands, or snippets shown in A command line example demonstrating how to check the deployment status of Cloudflare Workers using the Wrangler CLI. |
examples/workers-wrangler-commands-cloudflare-wrangler-deployments-status-command.text | A command line example demonstrating how to check the deployment status of Cloudflare Workers using the Wrangler CLI. | Exact payloads, commands, or snippets shown in A command line example demonstrating how to check the deployment status of Cloudflare Workers using the Wrangler CLI. |
examples/workers-wrangler-commands-cloudflare-wrangler-workers-rollback-command.text | A text example demonstrating the syntax and usage of the wrangler rollback command for Cloudflare Workers. | Exact payloads, commands, or snippets shown in A text example demonstrating the syntax and usage of the wrangler rollback command for Cloudflare Workers. |
examples/workers-wrangler-commands-cloudflare-wrangler-workers-types-command.text | An example of using the wrangler types command to generate TypeScript definitions for a Cloudflare Workers project. | Exact payloads, commands, or snippets shown in An example of using the wrangler types command to generate TypeScript definitions for a Cloudflare Workers project. |
examples/workers-wrangler-commands-cloudflare-workers-wrangler-service-binding-en.text | A TypeScript interface definition demonstrating how to declare a service binding within the Env object for Cloudflare Workers. | Exact payloads, commands, or snippets shown in A TypeScript interface definition demonstrating how to declare a service binding within the Env object for Cloudflare... |
examples/workers-wrangler-commands-cloudflare-workers-wrangler-check-startup-comm.text | A text representation of the wrangler check startup command used to verify worker configurations. | Exact payloads, commands, or snippets shown in A text representation of the wrangler check startup command used to verify worker configurations. |
What This Skill Covers
- Wrangler commands for creating, developing, deploying, and managing Workers.
- Main sections:
init,dev,deploy,delete,setup.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.cloudflare.com/workers/wrangler/commands/workers
