
5/9/2022 · Sunil Pai
What this post added
This post announces the general availability of Wrangler v2.0, a complete rewrite of the CLI for building Cloudflare Workers. Key improvements include: simplified installation via the `wrangler` npm package, zero-configuration startup, a one-liner `wrangler init` command for project setup, a `--local` development mode powered by Miniflare, on-demand log tailing (`wrangler tail`), enhanced error and warning messages, on-demand debugging tools (hotkey 'D'), native npm module support, and experimental Node.js compatibility mode. The rewrite also addresses hundreds of outstanding issues and bugs from the previous version.