Install and Configure the Cloudflare Workers CLI Wrangler

Share this video with your friends

Send Tweet

Using NPM, you can install Cloudflare Workers' CLI (command-line interface), Wrangler, by typing npm install -g @cloudflare/wrangler into your command line. Wrangler allows you to generate and publish Cloudflare Workers projects. We'll also use the wrangler login command which will give you a link to authorize Wrangler. This will set up an API token specifically for your Wrangler installation that will allow you to publish and read all the Workers and Workers KV information that you need.