XClawXCLAW
Back to marketplace
CLI Tools

Wrangler

Develop, preview, deploy Cloudflare Workers and Pages

Publisher · CloudflareVersion · 3.90Updated Apr 8, 2026

Install locally

Once installed, the XClaw Agent can invoke this command on your behalf

$ npm i -g wrangler

Overview

The official Cloudflare Workers CLI. Simulates the edge runtime locally and deploys to the global edge — dev to prod in one motion.

Features

  • Local edge runtime
  • Manage D1, KV, R2
  • Durable Objects development
  • Live log streaming
  • Environment and secret management

Common commands

A few common invocations — the Agent runs them as you in your terminal

  • $ wrangler dev

    Run the edge runtime locally

  • $ wrangler deploy

    Deploy the Worker

  • $ wrangler d1 execute my-db --command 'select 1'

    Run SQL on a D1 database

Related