Commands (2)
Last updated Apr 23, 2026 offers a number of commands to manage your Cloudflare Workers.
Workers commands
The core Wrangler commands for creating, developing, and deploying Workers are on the Workers commands page. This includes wrangler dev, wrangler deploy, wrangler versions, and more.
All commands
- Workers
- General commands
- Artifacts
- Basin Pipelines
- Browser
- Certificates
- Containers
- D1
- Flagship
- Hyperdrive
- KV
- Pages
- Queues
- R2
- Secrets Store
- Tunnel
- Vectorize
- VPC
- Workers for Platforms
- Workflows
How to run Wrangler commands
wrangler <COMMAND> <SUBCOMMAND> [PARAMETERS] [OPTIONS]
Since Cloudflare recommends installing Wrangler locally in your project (rather than globally), the way to run Wrangler will depend on your specific setup and package manager.
npmyarnpnpm
npx wrangler <COMMAND> <SUBCOMMAND> [PARAMETERS] [OPTIONS]
yarn wrangler <COMMAND> <SUBCOMMAND> [PARAMETERS] [OPTIONS]
pnpm wrangler <COMMAND> <SUBCOMMAND> [PARAMETERS] [OPTIONS]
You can add Wrangler commands that you use often as scripts in your project's package.json file:
{
...
"scripts": {
"deploy": "wrangler deploy",
"dev": "wrangler dev"
}
...
}
You can then run them using your package manager of choice:
npmyarnpnpm
npm run deploy
yarn run deploy
pnpm run deploy
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"WebPage","@id":"https://developers.cloudflare.com/workers/wrangler/commands/#page","headline":"Commands","description":"Create, develop, and deploy your Cloudflare Workers with Wrangler commands.","url":"https://developers.cloudflare.com/workers/wrangler/commands/","inLanguage":"en","image":"https://developers.cloudflare.com/workers/wrangler/commands/og.png?v=68af3b0427de7635","dateModified":"2026-04-23","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Manage Artifacts namespaces, repositories, and repo-scoped tokens using Wrangler. title: Artifacts image: https://developers.cloudflare.com/workers/wrangler/commands/artifacts/og.png?v=6748fe79cedf9f1b
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/workers/llms.txt
Use this file to discover all available pages before exploring further.
Docs