logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt
How to install cloudflare/workerd. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.

cloudflare/workerd Installation Guide

How to install cloudflare/workerd. Official project installation instructions and setup guide.

Automated Install (Recommended)

Quick installation instructions for cloudflare/workerd. This is the fastest way to complete project installation and setup.

Install via curl

curl -fsSL https://hexmos.com/ipm-install | bash && 
ipm i cloudflare/workerd
or

Install via npx

npx @hexmos/ipm i cloudflare/workerd

Prerequisites

Bazel

build tool

Bazelisk

build tool

Clang

compiler

Version: 19+

LLVM

linker

Version: 19+

libc++

library

Version: 19+

Python 3

language

Tcl 8.6

scripting language

Xcode 16.3

IDE

Version: 16.3

App Installer

package manager

Version: latest

glibc

library

Version: 2.35+

Manual Installation Methods

Manual installation instructions. How to install from GitHub source.

Build from Source (Linux)

git clone https://github.com/cloudflare/workerd.git

cd workerd

sudo apt-get update -y

sudo apt-get install -y clang-19 lld-19 libc++-19-dev libc++abi-19-dev python3 python3-distutils tcl8.6

bazel build //src/workerd/server:workerd --action_env=CC=clang-19

Build from Source (macOS)

git clone https://github.com/cloudflare/workerd.git

cd workerd

xcode-select --install

brew install tcl-tk

bazel build //src/workerd/server:workerd

Build from Source (Windows)

git clone https://github.com/cloudflare/workerd.git

cd workerd

winget install --id=Microsoft.AppInstaller --source winget --accept-package-agreements

tools\windows\install-deps.bat

echo "startup --output_user_root=C:/tmp" >> %USERPROFILE%\.bazelrc

tools\windows\bazel-env.bat

bazel build //src/workerd/server:workerd

Using Prebuilt Binaries (via npm)

npm install -g workerd

Post Installation Steps

  • To run workerd, use: 'workerd serve <config.capnp>'.
  • For command-line usage, run: 'workerd --help'.
  • To use prebuilt binaries, run: 'npx workerd ...'.