Wrangler commands
Interactive setup for a complete pipeline
npx wrangler pipelines setuppnpm wrangler pipelines setupyarn wrangler pipelines setup-
--namestringPipeline name
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
-
--experimental-remote-bindingsboolean aliases: --x-remote-bindings default: trueExperimental: Enable Remote Bindings
-
--experimental-provisionboolean aliases: --x-provisionExperimental: Enable automatic resource provisioning
Create a new pipeline
npx wrangler pipelines create [PIPELINE]pnpm wrangler pipelines create [PIPELINE]yarn wrangler pipelines create [PIPELINE]-
[PIPELINE]string requiredThe name of the pipeline to create
-
--sqlstringInline SQL query for the pipeline
-
--sql-filestringPath to file containing SQL query for the pipeline
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
-
--experimental-remote-bindingsboolean aliases: --x-remote-bindings default: trueExperimental: Enable Remote Bindings
-
--experimental-provisionboolean aliases: --x-provisionExperimental: Enable automatic resource provisioning
List all pipelines
npx wrangler pipelines listpnpm wrangler pipelines listyarn wrangler pipelines list-
--pagenumber default: 1Page number for pagination
-
--per-pagenumber default: 20Number of pipelines per page
-
--jsonboolean default: falseOutput in JSON format
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
-
--experimental-remote-bindingsboolean aliases: --x-remote-bindings default: trueExperimental: Enable Remote Bindings
-
--experimental-provisionboolean aliases: --x-provisionExperimental: Enable automatic resource provisioning
Get details about a specific pipeline
npx wrangler pipelines get [PIPELINE]pnpm wrangler pipelines get [PIPELINE]yarn wrangler pipelines get [PIPELINE]-
[PIPELINE]string requiredThe ID of the pipeline to retrieve
-
--jsonboolean default: falseOutput in JSON format
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
-
--experimental-remote-bindingsboolean aliases: --x-remote-bindings default: trueExperimental: Enable Remote Bindings
-
--experimental-provisionboolean aliases: --x-provisionExperimental: Enable automatic resource provisioning
Update a pipeline configuration (legacy pipelines only)
npx wrangler pipelines update [PIPELINE]pnpm wrangler pipelines update [PIPELINE]yarn wrangler pipelines update [PIPELINE]-
[PIPELINE]string requiredThe name of the legacy pipeline to update
-
--sourcearraySpace separated list of allowed sources. Options are 'http' or 'worker'
-
--require-http-authbooleanRequire Cloudflare API Token for HTTPS endpoint authentication
-
--cors-originsarrayCORS origin allowlist for HTTP endpoint (use * for any origin). Defaults to an empty array
-
--batch-max-mbnumberMaximum batch size in megabytes before flushing. Defaults to 100 MB if unset. Minimum: 1, Maximum: 100
-
--batch-max-rowsnumberMaximum number of rows per batch before flushing. Defaults to 10,000,000 if unset. Minimum: 100, Maximum: 10,000,000
-
--batch-max-secondsnumberMaximum age of batch in seconds before flushing. Defaults to 300 if unset. Minimum: 1, Maximum: 300
-
--r2-bucketstringDestination R2 bucket name
-
--r2-access-key-idstringR2 service Access Key ID for authentication. Leave empty for OAuth confirmation.
-
--r2-secret-access-keystringR2 service Secret Access Key for authentication. Leave empty for OAuth confirmation.
-
--r2-prefixstringPrefix for storing files in the destination bucket. Default is no prefix
-
--compressionstringCompression format for output files
-
--shard-countnumberNumber of shards for the pipeline. More shards handle higher request volume; fewer shards produce larger output files. Defaults to 2 if unset. Minimum: 1, Maximum: 15
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
-
--experimental-remote-bindingsboolean aliases: --x-remote-bindings default: trueExperimental: Enable Remote Bindings
-
--experimental-provisionboolean aliases: --x-provisionExperimental: Enable automatic resource provisioning
Delete a pipeline
npx wrangler pipelines delete [PIPELINE]pnpm wrangler pipelines delete [PIPELINE]yarn wrangler pipelines delete [PIPELINE]-
[PIPELINE]string requiredThe ID or name of the pipeline to delete
-
--forceboolean alias: --y default: falseSkip confirmation
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
-
--experimental-remote-bindingsboolean aliases: --x-remote-bindings default: trueExperimental: Enable Remote Bindings
-
--experimental-provisionboolean aliases: --x-provisionExperimental: Enable automatic resource provisioning
Create a new stream
npx wrangler pipelines streams create [STREAM]pnpm wrangler pipelines streams create [STREAM]yarn wrangler pipelines streams create [STREAM]-
[STREAM]string requiredThe name of the stream to create
-
--schema-filestringPath to JSON file containing stream schema
-
--http-enabledboolean default: trueEnable HTTP endpoint
-
--http-authboolean default: trueRequire authentication for HTTP endpoint
-
--cors-originstringCORS origin
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
-
--experimental-remote-bindingsboolean aliases: --x-remote-bindings default: trueExperimental: Enable Remote Bindings
-
--experimental-provisionboolean aliases: --x-provisionExperimental: Enable automatic resource provisioning
List all streams
npx wrangler pipelines streams listpnpm wrangler pipelines streams listyarn wrangler pipelines streams list-
--pagenumber default: 1Page number for pagination
-
--per-pagenumber default: 20Number of streams per page
-
--pipeline-idstringFilter streams by pipeline ID
-
--jsonboolean default: falseOutput in JSON format
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
-
--experimental-remote-bindingsboolean aliases: --x-remote-bindings default: trueExperimental: Enable Remote Bindings
-
--experimental-provisionboolean aliases: --x-provisionExperimental: Enable automatic resource provisioning
Get details about a specific stream
npx wrangler pipelines streams get [STREAM]pnpm wrangler pipelines streams get [STREAM]yarn wrangler pipelines streams get [STREAM]-
[STREAM]string requiredThe ID of the stream to retrieve
-
--jsonboolean default: falseOutput in JSON format
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
-
--experimental-remote-bindingsboolean aliases: --x-remote-bindings default: trueExperimental: Enable Remote Bindings
-
--experimental-provisionboolean aliases: --x-provisionExperimental: Enable automatic resource provisioning
Delete a stream
npx wrangler pipelines streams delete [STREAM]pnpm wrangler pipelines streams delete [STREAM]yarn wrangler pipelines streams delete [STREAM]-
[STREAM]string requiredThe ID of the stream to delete
-
--forceboolean alias: --y default: falseSkip confirmation
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
-
--experimental-remote-bindingsboolean aliases: --x-remote-bindings default: trueExperimental: Enable Remote Bindings
-
--experimental-provisionboolean aliases: --x-provisionExperimental: Enable automatic resource provisioning
Create a new sink
npx wrangler pipelines sinks create [SINK]pnpm wrangler pipelines sinks create [SINK]yarn wrangler pipelines sinks create [SINK]-
[SINK]string requiredThe name of the sink to create
-
--typestring requiredThe type of sink to create
-
--bucketstring requiredR2 bucket name
-
--formatstring default: parquetOutput format
-
--compressionstring default: zstdCompression method (parquet only)
-
--target-row-group-sizestringTarget row group size for parquet format
-
--pathstringThe base prefix in your bucket where data will be written
-
--partitioningstringTime partition pattern (r2 sinks only)
-
--roll-sizenumberRoll file size in MB
-
--roll-intervalnumber default: 300Roll file interval in seconds
-
--access-key-idstringR2 access key ID (leave empty for R2 credentials to be automatically created)
-
--secret-access-keystringR2 secret access key (leave empty for R2 credentials to be automatically created)
-
--namespacestringData catalog namespace (required for r2-data-catalog)
-
--tablestringTable name within namespace (required for r2-data-catalog)
-
--catalog-tokenstringAuthentication token for data catalog (required for r2-data-catalog)
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
-
--experimental-remote-bindingsboolean aliases: --x-remote-bindings default: trueExperimental: Enable Remote Bindings
-
--experimental-provisionboolean aliases: --x-provisionExperimental: Enable automatic resource provisioning
List all sinks
npx wrangler pipelines sinks listpnpm wrangler pipelines sinks listyarn wrangler pipelines sinks list-
--pagenumber default: 1Page number for pagination
-
--per-pagenumber default: 20Number of sinks per page
-
--pipeline-idstringFilter sinks by pipeline ID
-
--jsonboolean default: falseOutput in JSON format
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
-
--experimental-remote-bindingsboolean aliases: --x-remote-bindings default: trueExperimental: Enable Remote Bindings
-
--experimental-provisionboolean aliases: --x-provisionExperimental: Enable automatic resource provisioning
Get details about a specific sink
npx wrangler pipelines sinks get [SINK]pnpm wrangler pipelines sinks get [SINK]yarn wrangler pipelines sinks get [SINK]-
[SINK]string requiredThe ID of the sink to retrieve
-
--jsonboolean default: falseOutput in JSON format
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
-
--experimental-remote-bindingsboolean aliases: --x-remote-bindings default: trueExperimental: Enable Remote Bindings
-
--experimental-provisionboolean aliases: --x-provisionExperimental: Enable automatic resource provisioning
Delete a sink
npx wrangler pipelines sinks delete [SINK]pnpm wrangler pipelines sinks delete [SINK]yarn wrangler pipelines sinks delete [SINK]-
[SINK]string requiredThe ID of the sink to delete
-
--forceboolean alias: --y default: falseSkip confirmation
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
-
--experimental-remote-bindingsboolean aliases: --x-remote-bindings default: trueExperimental: Enable Remote Bindings
-
--experimental-provisionboolean aliases: --x-provisionExperimental: Enable automatic resource provisioning
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Directory
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- © 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark