There are a couple of ways to install NodeJS:

Both options have selections for Windows, MacOS, and Linux.

If you've used the official installer, your PATH should have been automatically configured, but if your shell has trouble locating your globally installed modules—or if you build Node.js from source—update your PATH to include the npm binaries by adding the following to either ~/.bash_profile or ~/.zshrc:

1
$ export PATH=/usr/local/share/npm/bin:$PATH

Each assignment needs some tools to run the tests:

  • Jest: a test runner based on Jasmine
  • Babel: to transpile ECMAScript 2015 code to ECMAScript 5
  • ESLint (optional): to perform several static analysis and coding style checks to your ECMAScript code.

They can be installed running this command within each assignment directory:

1
$ npm install

Help us explain this better! File a GitHub issue at https://github.com/exercism/ecmascript/issues if you have suggestions, or submit a patch with improvements to the https://github.com/exercism/ecmascript/blob/master/docs/INSTALLATION.md file.