Installation
Getting trainjs installed and ready-to-go should only take a few minutes. If it ever becomes a pain in the ass, please file an issue (or submit a pull request) describing the issue you encountered and how we might make the process easier.
Requirements
Installing trainjs is easy and straight-forward, but there are a few requirements you’ll need to make sure your system has before you start.
- Node.js 5.x
- Linux, Unix, Mac OS X, or Windows
Running trainjs on Linux
trainjs can run on multiple platforms, but the official tutorial only support installation on Linux platforms.
Install Node.js
At the terminal prompt, simply run the following commands to install Node.js:
You can read this guide to install Node.js on other platforms.
Install trainjs
You can do this more easily by using npm: