# wrangler **Repository Path**: mirrors_samuelcolvin/wrangler ## Basic Information - **Project Name**: wrangler - **Description**: 🀠 wrangle your cloudflare workers - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2026-03-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 🀠 wrangler ![Banner](/banner.png) [![crates.io](https://meritbadge.herokuapp.com/wrangler)](https://crates.io/crates/wrangler)   [![npm](https://img.shields.io/npm/v/@cloudflare/wrangler.svg)](https://www.npmjs.com/package/@cloudflare/wrangler)   [![GitHub Actions - Test Status](https://github.com/cloudflare/wrangler/workflows/Tests/badge.svg)](https://github.com/cloudflare/wrangler/actions)   [![GitHub Actions - Linter Status](https://github.com/cloudflare/wrangler/workflows/Linters/badge.svg)](https://github.com/cloudflare/wrangler/actions)   `wrangler` is a CLI tool designed for folks who are interested in using [Cloudflare Workers](https://workers.cloudflare.com/). ![Wrangler Demo](/wrangler-demo.gif) ## Installation You have many options to install wrangler! ### Install with `npm` We strongly recommend you install `npm` with a Node version manager like [`nvm`](https://github.com/nvm-sh/nvm#installing-and-updating), which will allow `wrangler` to install configuration data in a global `node_modules` directory in your user's home directory, without requiring that you run as `root`. Once you've installed `nvm`, run: ```bash npm i @cloudflare/wrangler -g ``` If you are running an ARM based system (eg Raspberry Pi, Pinebook) you'll need to use the `cargo` installation method listed below to build wrangler from source. #### Specify binary site URL In case you need to store/mirror binaries on premise you will need to specify where wrangler should search for them by providing any of the following: - Environment variable: `WRANGLER_BINARY_HOST` - NPM configuration: `wrangler_binary_host` ### Install with `cargo` ```bash cargo install wrangler ``` If you don't have `cargo` or `npm` installed, you will need to follow these [additional instructions](https://developers.cloudflare.com/workers/tooling/wrangler/install/). ## Updating For information regarding updating Wrangler, click [here](https://developers.cloudflare.com/workers/cli-wrangler/install-update#update). ## Getting Started Once you have installed Wrangler, spinning up and deploying your first Worker is easy! ```console $ wrangler generate my-worker $ cd my-worker # update your wrangler.toml with your Cloudflare Account ID $ wrangler config $ wrangler publish ``` ## πŸŽ™οΈ Top Level Commands ### πŸ‘― `generate` Scaffold a project, including boilerplate code for a Rust library and a Cloudflare Worker. ```bash wrangler generate