Workers for Platforms
Wrangler commands for managing Workers for Platforms dispatch namespace using Wrangler.
dispatch-namespace list
List all dispatch namespaces
npx wrangler dispatch-namespace listyarn wrangler dispatch-namespace listpnpm wrangler dispatch-namespace listGlobal flags
-
--vboolean alias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstring alias: --cPath to Wrangler configuration file
-
--envstring alias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--install-skillsboolean default: falseInstall Cloudflare skills for detected AI coding agents before running the command
-
--profilestringUse a specific auth profile
dispatch-namespace get
Get information about a dispatch namespace
npx wrangler dispatch-namespace get <NAME>yarn wrangler dispatch-namespace get <NAME>pnpm wrangler dispatch-namespace get <NAME>-
<NAME>string requiredName of the dispatch namespace
Global flags
-
--vboolean alias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstring alias: --cPath to Wrangler configuration file
-
--envstring alias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--install-skillsboolean default: falseInstall Cloudflare skills for detected AI coding agents before running the command
-
--profilestringUse a specific auth profile
dispatch-namespace create
Create a dispatch namespace
npx wrangler dispatch-namespace create <NAME>yarn wrangler dispatch-namespace create <NAME>pnpm wrangler dispatch-namespace create <NAME>-
<NAME>string requiredName of the dispatch namespace
Global flags
-
--vboolean alias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstring alias: --cPath to Wrangler configuration file
-
--envstring alias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--install-skillsboolean default: falseInstall Cloudflare skills for detected AI coding agents before running the command
-
--profilestringUse a specific auth profile
dispatch-namespace delete
Delete a dispatch namespace
npx wrangler dispatch-namespace delete <NAME>yarn wrangler dispatch-namespace delete <NAME>pnpm wrangler dispatch-namespace delete <NAME>-
<NAME>string requiredName of the dispatch namespace
Global flags
-
--vboolean alias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstring alias: --cPath to Wrangler configuration file
-
--envstring alias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--install-skillsboolean default: falseInstall Cloudflare skills for detected AI coding agents before running the command
-
--profilestringUse a specific auth profile
Note
You must delete all user Workers in the dispatch namespace before it can be deleted.
dispatch-namespace rename
Rename a dispatch namespace
npx wrangler dispatch-namespace rename <OLDNAME> <NEWNAME>yarn wrangler dispatch-namespace rename <OLDNAME> <NEWNAME>pnpm wrangler dispatch-namespace rename <OLDNAME> <NEWNAME>-
<OLDNAME>string requiredName of the dispatch namespace
-
<NEWNAME>string requiredNew name of the dispatch namespace
Global flags
-
--vboolean alias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstring alias: --cPath to Wrangler configuration file
-
--envstring alias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--install-skillsboolean default: falseInstall Cloudflare skills for detected AI coding agents before running the command
-
--profilestringUse a specific auth profile