Clone on Linux or Mac:

    Extra steps for Windows users:

    1. (otherwise symlinks would require administrator privileges).
    2. Set core.symlinks=true before the checkout:

      1. git config --global core.symlinks true
      2. git clone --recurse-submodules https://github.com/denoland/deno.git
    1. rustup target add wasm32-wasi

    The easiest way to build Deno is by using a precompiled version of V8:

    However if you want to build Deno and V8 from source code:

    1. V8_FROM_SOURCE=1 cargo build -vv

    When building V8 from source, there are more dependencies:

    Python 2. Ensure that a suffix-less python/ exists in your PATH and it refers to Python 2, .

    Mac users must have Command Line Tools installed. (XCode already includes CLT. Run xcode-select --install to install it without XCode.)

    For Windows users:

    1. Enable “Debugging Tools for Windows”. Go to “Control Panel” → “Programs” → “Programs and Features” → Select “Windows Software Development Kit - Windows 10” → “Change” → “Change” → Check “Debugging Tools For Windows” → “Change” → “Finish”. Or use: (Notice: it will download the files, you should install file manually.)

    See rusty_v8’s README for more details about the V8 build.