Skip to content
AnswerWell geo Documentation

Research · 7 min read · Answerwell

Developer Prerequisites: Account, Node.js, Wrangler CLI, and System Requirements

What Cloudflare’s docs require before Workers tutorials—account, Node.js versions, local Wrangler install, and extra tools by product.

This page summarises Cloudflare developer documentation on prerequisites: the same baseline appears on most Workers, Pages, AI, D1, and Sandbox guides, with extra requirements when a product needs Docker, paid plans, or third-party API keys.

Cloudflare account: what every Workers path assumes

Section titled “Cloudflare account: what every Workers path assumes”

A Cloudflare account is the first item on nearly every getting-started and tutorial page. Some products add plan or feature gates on top of signup.

For new AI or API projects, Cloudflare states:

A Cloudflare account ↗︎.
Node.js ↗︎ (version 16.17.0 or later) installed on your machine.
Wrangler installed. Wrangler is the command-line interface (CLI) for deploying Workers and managing bindings.

— Cloudflare, AI applications

AI Gateway is an exception to needing a zone: you can put it in front of an existing provider without adding a domain to Cloudflare. For web apps on Cloudflare, an existing site usually needs the domain on Cloudflare with proxied DNS for SSL, caching, and security features—see Web sites and web apps.

Situation Extra account requirement (from cluster sources)
Workers Paid features (Queues full, K2, many Sandbox/Container flows) Workers Paid plan or higher where stated
Vectorize Workers Free or Paid (Introduction to Vectorize)
Artifacts Workers Paid (Workers)
AI Search domain indexing Domain onboarded to the account (Connect your AI Search to an MCP client)

Node.js: supported versions and when docs pin a minimum

Section titled “Node.js: supported versions and when docs pin a minimum”

Most guides tell you to install Node.js and to pick a version that satisfies Wrangler system requirements, often via a version manager.

Sign up for a Cloudflare account ↗︎.
Install Node.js ↗︎.

Node.js version manager

Use Vite+ (vp env) ↗︎ to install and manage Node.js versions.

For supported Node.js versions, refer to the Wrangler system requirements.

— Cloudflare, Get started (Workers)

The canonical Wrangler policy is:

We support running the Wrangler CLI with the Current, Active, and Maintenance ↗︎ versions of Node.js. Your Worker will always be executed in workerd, the open source Cloudflare Workers runtime.

— Cloudflare, Install/Update Wrangler

Several products in this cluster name specific Node versions—use the highest minimum that applies to everything you are building:

Source Node.js requirement
Use cases: AI / APIs / web apps 16.17.0 or later
Build an Interactive ChatGPT App v18 or later
Astro on Workers 18.20.8+, 20.3.0+ (20.x), or 22.0.0+ (Astro 5.x); Astro 6.x/7.x need 22.12.0+
Realtime SFU get started 22.12 or later
Get started (cf CLI) 22.18 or later; Bun not supported for cloudflare.config.ts
Agents harness Think 24+
OpenAI Agents in Sandbox 24+ for manual deploy
Fate framework 24+ and Vite+

Node version managers: what Cloudflare recommends

Section titled “Node version managers: what Cloudflare recommends”

Across tutorials, Cloudflare repeatedly points to Vite+ (vp env) for Node versions. Older or specialised pages also mention nvm or Volta (for example Connect to MongoDB and legacy Wrangler install notes). The common conclusion: use a version manager to avoid global npm permission errors and to match each project’s Node version.

Wrangler CLI: install locally, verify, and minimum versions

Section titled “Wrangler CLI: install locally, verify, and minimum versions”

Wrangler is the CLI for creating, testing, and deploying Workers and for managing bindings. Cloudflare recommends a project-local install rather than a global one.

Wrangler is installed locally into each of your projects. This allows you and your team to use the same Wrangler version, control Wrangler versions for each project, and roll back to an earlier version of Wrangler, if needed.

— Cloudflare, Install/Update Wrangler

To install Wrangler within your Worker project, run:

npm i -D wrangler@latest

— Cloudflare, Install/Update Wrangler

For migration from Wrangler v1, the cluster still shows a global install path:

Now, install the latest version of Wrangler.

npm install -g wrangler

— Cloudflare, Update to Wrangler v2

To check that you have installed the correct Wrangler version, run:

npx wrangler --version

— Cloudflare, Update to Wrangler v2

Wrangler is only supported on macOS 13.5+, Windows 11, and Linux distros that support glib 2.35. This follows workerd’s OS support policy ↗︎.

— Cloudflare, Install/Update Wrangler

That behaviour is convenient for one-off commands but works against reproducible team builds; prefer a dev dependency and your package manager’s script runner.

Minimum Wrangler versions for some products

Section titled “Minimum Wrangler versions for some products”
Product / task Wrangler minimum (cluster)
Queues local development v3.1.0 or later
Workflows local development v3.89.0 or later
ClickHouse Managed Postgres + Hyperdrive 4.9.0 or later, authenticated

Many tutorials assume you already completed the Workers Get started guide with C3 (create-cloudflare) and Wrangler—see Build a QR code generator.

You can start without local C3/Wrangler on the dashboard:

You can build and develop your Worker on the Cloudflare dashboard, without needing to install and use C3 and Wrangler.

— Cloudflare, C3 & Wrangler learning path

Once you download a script to work locally, Cloudflare notes that changes will not automatically sync with the dashboard—you continue via the CLI (Workers AI dashboard / Wrangler CLI).

Beyond account + Node + Wrangler, the cluster groups optional requirements by task.

Sandbox, several coding-agent deploy paths, and some AI tutorials require Docker running locally—for example:

You must have Docker running locally when you run wrangler deploy.

— Cloudflare, Build a coding agent runner

You can check that Docker is running properly by running the docker info command in your terminal.

— Cloudflare, Build a coding agent runner

Sandbox SDK tutorials list Docker as a blanket requirement together with completing the Sandbox get started guide.

Goal Typical extras
RAG / Workers AI tutorials Vectorize access; optional Anthropic API key
AI Search custom generation Indexed AI Search instance, OpenAI API key (Bring your own generation model)
LangChain + AI Search Python 3.10+, account ID, API token with AI Search Edit + Run (LangChain)
GitHub automation (reviews, tests) Fine-grained PAT with repo metadata, contents, pull requests (Build a code review bot)
Basin / R2 data paths R2 API token with Admin Read & Write (Basin CLI get started)
K2 curl, jq (K2 get started)

Database tutorials usually need an reachable MySQL, PostgreSQL, MongoDB, or similar instance (MySQL with Workers, Hyperdrive get started). Private databases point to Workers VPC or Cloudflare Tunnel paths (Connect to a private database using Tunnel). Tunnel setup may interact with Super Bot Fight Mode—keep Definitely Automated set to Allow to avoid tunnel handshake failures on that page.

Non-Node toolchains (when the tutorial is not Workers-JS-first)

Section titled “Non-Node toolchains (when the tutorial is not Workers-JS-first)”

The cluster includes separate prerequisite stacks you should not mix with the default Workers baseline: .NET SDK for Blazor on Pages (Deploy a Blazor site), Python and uv for some agents (Build an AI coding agent with OpenAI Agents SDK), Rust and wasm32-unknown-unknown for Rust Workers (Rust), and Ansible for tunnel deployment (Ansible deployment guide). Follow the specific guide’s list rather than only the generic Workers trio.

Common mistakes when meeting prerequisites

Section titled “Common mistakes when meeting prerequisites”
  • Assuming a global Wrangler satisfies monorepo or cf tooling: Migrate a Wrangler project states Wrangler must be in the Worker package’s own node_modules, not only hoisted at the workspace root.
  • Using Node below your stack’s maximum minimum—e.g. 16.17.0 satisfies APIs use cases but not Astro 6+, cf 22.18+, or Sandbox agents that require 24+.
  • Deploying Sandbox or container Workers without Docker, then seeing deploy hang or daemon errors (per Build a coding agent runner).
  • Enabling Queues without Workers Paid where the doc requires it (Handle rate limits of external APIs).
  • Relying on npx wrangler in CI without pinning wrangler in package.json, which pulls “latest” and can break builds (Install/Update Wrangler).
  1. Confirm you can sign in at Cloudflare and that your account has the plan/features your chosen guide lists (Paid, R2, Containers, etc.).

  2. Install Node.js using the version manager your guide recommends (often via Install/Update Wrangler and product-specific pages such as Get started (cf) or Astro on Workers).

  3. In your Worker project directory, install Wrangler per Install/Update Wrangler and run npx wrangler --version as in Update to Wrangler v2.

  4. If the tutorial mentions Docker, run docker info successfully before wrangler deploy (Build a coding agent runner).

  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page does not match Cloudflare’s current docs, email yimasynthetic@gmail.com with the page URL and the sentence you think is wrong, and we will clarify or correct it.