0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/tools/bootstrap/README.md
Bartosz Sosnowski 887f4c54ce win, tools: add nasm to boxstarter script
Adds NASM installation to the Boxstarter script.

Refs: https://github.com/nodejs/node/issues/19918

PR-URL: https://github.com/nodejs/node/pull/19950
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-04-14 13:34:43 -07:00

2.1 KiB

Node.js Bootstrapping Guide

Windows

A Boxstarter script can be used for easy setup of Windows systems with all the required prerequisites for Node.js development. This script will install the following Chocolatey packages:

To install Node.js prerequisites using Boxstarter WebLauncher, just open this link with Internet Explorer or Edge browser on the target machine.

Alternatively, you can use PowerShell. Run those commands from an elevated PowerShell terminal:

Set-ExecutionPolicy Unrestricted -Force
iex ((New-Object System.Net.WebClient).DownloadString('http://boxstarter.org/bootstrapper.ps1'))
get-boxstarter -Force
Install-BoxstarterPackage https://raw.githubusercontent.com/nodejs/node/master/tools/bootstrap/windows_boxstarter -DisableReboots

Entire installation will take up about 8 GB of disk space.

Linux

For building Node.js on Linux, following packages are required (note, that this can vary from distribution to distribution):

  • git
  • python
  • gcc-c++ or g++
  • make

To bootstrap Node.js on Linux, run in terminal:

  • OpenSUSE: sudo zypper install git python gcc-c++ make
  • Fedora: sudo dnf install git python gcc-c++ make
  • Ubuntu, Debian: sudo apt-get install git python g++ make

macOS

To install required tools on macOS, run in terminal:

xcode-select --install