Pages (2)·续

Path to Wrangler configuration file - <code>--env</code><code>string</code> alias: --e

Environment to use for operations, and for selecting .env and .dev.vars files - <code>--env-file</code><code>string</code>Path to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files - <code>--install-skills</code><code>boolean</code> default: false

Install Cloudflare skills for detected AI coding agents before running the command - <code>--profile</code><code>string</code>Use a specific auth profile

</details>

pages deployment delete

Delete a deployment in your Cloudflare Pages project

npmyarnpnpm

npx wrangler pages deployment delete <DEPLOYMENT-ID>
yarn wrangler pages deployment delete <DEPLOYMENT-ID>
pnpm wrangler pages deployment delete <DEPLOYMENT-ID>
  • <DEPLOYMENT-ID> string required

The ID of the deployment to delete - --project-name string The name of the project the deployment belongs to - --force boolean alias: --fdefault: false

Delete even if the deployment has an active alias

<details>

<summary>

Global flags

</summary>

  • <code>--v</code><code>boolean</code> alias: --version

Show version number - <code>--cwd</code><code>string</code>Run as if Wrangler was started in the specified directory instead of the current working directory - <code>--config</code><code>string</code> alias: --c

Path to Wrangler configuration file - <code>--env</code><code>string</code> alias: --e

Environment to use for operations, and for selecting .env and .dev.vars files - <code>--env-file</code><code>string</code>Path to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files - <code>--install-skills</code><code>boolean</code> default: false

Install Cloudflare skills for detected AI coding agents before running the command - <code>--profile</code><code>string</code>Use a specific auth profile

</details>

pages deploy

Deploy a directory of static assets as a Pages deployment

npmyarnpnpm

npx wrangler pages deploy [DIRECTORY]
yarn wrangler pages deploy [DIRECTORY]
pnpm wrangler pages deploy [DIRECTORY]
  • [DIRECTORY] string The directory of static files to upload
  • --project-name string The name of the project you want to deploy to
  • --branch string The name of the branch you want to deploy to
  • --commit-hash string The SHA to attach to this deployment
  • --commit-message string The commit message to attach to this deployment
  • --commit-dirty boolean Whether or not the workspace should be considered dirty for this deployment
  • --skip-caching boolean Skip asset caching which speeds up builds
  • --no-bundle boolean Whether to run bundling on _worker.js before deploying
  • --upload-source-maps boolean default: false

Whether to upload any server-side sourcemaps with this deployment

<details>

<summary>

Global flags

</summary>

  • <code>--v</code><code>boolean</code> alias: --version

Show version number - <code>--cwd</code><code>string</code>Run as if Wrangler was started in the specified directory instead of the current working directory - <code>--config</code><code>string</code> alias: --c

Path to Wrangler configuration file - <code>--env</code><code>string</code> alias: --e

Environment to use for operations, and for selecting .env and .dev.vars files - <code>--env-file</code><code>string</code>Path to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files - <code>--install-skills</code><code>boolean</code> default: false

Install Cloudflare skills for detected AI coding agents before running the command - <code>--profile</code><code>string</code>Use a specific auth profile

</details>

pages secret put

Create or update a secret variable for a Pages project

npmyarnpnpm

npx wrangler pages secret put <KEY>
yarn wrangler pages secret put <KEY>
pnpm wrangler pages secret put <KEY>
  • <KEY> string required

The variable name to be accessible in the Pages project - --project-name string aliases: --project

The name of your Pages project

<details>

<summary>

Global flags

</summary>

  • <code>--v</code><code>boolean</code> alias: --version

Show version number - <code>--cwd</code><code>string</code>Run as if Wrangler was started in the specified directory instead of the current working directory - <code>--config</code><code>string</code> alias: --c

Path to Wrangler configuration file - <code>--env</code><code>string</code> alias: --e

Environment to use for operations, and for selecting .env and .dev.vars files - <code>--env-file</code><code>string</code>Path to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files - <code>--install-skills</code><code>boolean</code> default: false

Install Cloudflare skills for detected AI coding agents before running the command - <code>--profile</code><code>string</code>Use a specific auth profile

</details>

pages secret bulk

Bulk upload secrets for a Pages project

npmyarnpnpm

npx wrangler pages secret bulk [FILE]
yarn wrangler pages secret bulk [FILE]
pnpm wrangler pages secret bulk [FILE]
  • [FILE] string The file of key-value pairs to upload, as JSON in form {"key": value, ...} or .dev.vars file in the form KEY=VALUE
  • --project-name string aliases: --project

The name of your Pages project

<details>

<summary>

Global flags

</summary>

  • <code>--v</code><code>boolean</code> alias: --version

Show version number - <code>--cwd</code><code>string</code>Run as if Wrangler was started in the specified directory instead of the current working directory - <code>--config</code><code>string</code> alias: --c

Path to Wrangler configuration file - <code>--env</code><code>string</code> alias: --e

Environment to use for operations, and for selecting .env and .dev.vars files - <code>--env-file</code><code>string</code>Path to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files - <code>--install-skills</code><code>boolean</code> default: false

Install Cloudflare skills for detected AI coding agents before running the command - <code>--profile</code><code>string</code>Use a specific auth profile

</details>

pages secret delete

Delete a secret variable from a Pages project

npmyarnpnpm

npx wrangler pages secret delete <KEY>
yarn wrangler pages secret delete <KEY>
pnpm wrangler pages secret delete <KEY>
  • <KEY> string required

The variable name to be accessible in the Pages project - --project-name string aliases: --project

The name of your Pages project

<details>

<summary>

Global flags

</summary>

  • <code>--v</code><code>boolean</code> alias: --version

Show version number - <code>--cwd</code><code>string</code>Run as if Wrangler was started in the specified directory instead of the current working directory - <code>--config</code><code>string</code> alias: --c

Path to Wrangler configuration file - <code>--env</code><code>string</code> alias: --e

Environment to use for operations, and for selecting .env and .dev.vars files - <code>--env-file</code><code>string</code>Path to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files - <code>--install-skills</code><code>boolean</code> default: false

Install Cloudflare skills for detected AI coding agents before running the command - <code>--profile</code><code>string</code>Use a specific auth profile

</details>

pages secret list

List all secrets for a Pages project

npmyarnpnpm

npx wrangler pages secret list
yarn wrangler pages secret list
pnpm wrangler pages secret list
  • --project-name string aliases: --project

The name of your Pages project

<details>

<summary>

Global flags

</summary>

  • <code>--v</code><code>boolean</code> alias: --version

Show version number - <code>--cwd</code><code>string</code>Run as if Wrangler was started in the specified directory instead of the current working directory - <code>--config</code><code>string</code> alias: --c

Path to Wrangler configuration file - <code>--env</code><code>string</code> alias: --e

Environment to use for operations, and for selecting .env and .dev.vars files - <code>--env-file</code><code>string</code>Path to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files - <code>--install-skills</code><code>boolean</code> default: false

Install Cloudflare skills for detected AI coding agents before running the command - <code>--profile</code><code>string</code>Use a specific auth profile

</details>

pages download config

Experimental

Download your Pages project config as a Wrangler configuration file

npmyarnpnpm

npx wrangler pages download config [PROJECTNAME]
yarn wrangler pages download config [PROJECTNAME]
pnpm wrangler pages download config [PROJECTNAME]
  • [PROJECTNAME] string The Pages project to download
  • --force boolean Overwrite an existing Wrangler configuration file without prompting

<details>

<summary>

Global flags

</summary>

  • <code>--v</code><code>boolean</code> alias: --version

Show version number - <code>--cwd</code><code>string</code>Run as if Wrangler was started in the specified directory instead of the current working directory - <code>--config</code><code>string</code> alias: --c

Path to Wrangler configuration file - <code>--env</code><code>string</code> alias: --e

Environment to use for operations, and for selecting .env and .dev.vars files - <code>--env-file</code><code>string</code>Path to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files - <code>--install-skills</code><code>boolean</code> default: false

Install Cloudflare skills for detected AI coding agents before running the command - <code>--profile</code><code>string</code>Use a specific auth profile

</details>

Was this helpful?

YesNo

On this page

Pages (2)·续 - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/workers/wrangler/commands/pages/#page","headline":"Pages","description":"Wrangler commands for configuring Cloudflare Pages.","url":"https://developers.cloudflare.com/workers/wrangler/commands/pages/","inLanguage":"en","image":"https://developers.cloudflare.com/workers/wrangler/commands/pages/og.png?v=3e4588ee7a0ecb51","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: Wrangler commands for managing Basin Pipelines. title: Basin Pipelines image: https://developers.cloudflare.com/workers/wrangler/commands/pipelines/og.png?v=4d6206b8fdb0ca2e


Skip to content

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.