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 truegit clone --recurse-submodules https://github.com/denoland/deno.git

      `

    Update or Install Rust. Check that Rust installed/updated correctly:

    `

    `

    `

    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

    `

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

    For Linux users glib-2.0 development files must also be installed. (On Ubuntu, run apt install libglib2.0-dev.)

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

    For Windows users:

    1. Get VS Community 2019 with “Desktop development with C++” toolkit and make sure to select the following required tools listed below along with all C++ tools.

      • Visual C++ tools for CMake
      • Testing tools core features - Build Tools
      • Visual C++ ATL for x86 and x64
      • Visual C++ MFC for x86 and x64
      • C++/CLI support
      • VC++ 2015.3 v14.00 (v140) toolset for desktop
    2. 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 X64 Debuggers And Tools-x64_en-us.msi file manually.)

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

    Build with Cargo:

    `

    `