<commit_before># Install NodeJS and NPM
In this tutorial, we will install NodeJS, a server-side JavaScript web framework, and NPM, the Node Package Manager, onto our Ubuntu VMs.

1. Install NodeJS:
   ```
   $ sudo apt-get install -y nodejs
   ```

2. Install NPM:
   ```
   $ sudo apt-get install -y npm
   ```

3. Confirm installation of NodeJS and NPM by verifying from the command line their version:
   ```
   $ nodejs -v
   $ npm -v
   ```

4. If you try to verify NodeJS installation with the standard command ```$ node -v```, you'll see that it doesn't exist. There is a conflict with a legacy Ubuntu package of that name. We get around this inconvenience by installing a ***symlink*** for Bash that points the ```node``` command to the ```nodejs``` package:
   ```
   $ sudo apt-get install -y nodejs-legacy
   $ node -v
   ```

   (*For more detail on this fix, read [this StackOverflow thread](http://stackoverflow.com/questions/21168141/can-not-install-packages-using-node-package-manager-in-ubuntu).*)
<commit_msg>Added link to DO Node install tutorial<commit_after># Install NodeJS and NPM
In this tutorial, we will install NodeJS, a server-side JavaScript web framework, and NPM, the Node Package Manager, onto our Ubuntu VMs.

1. Install NodeJS:
   ```
   $ sudo apt-get install -y nodejs
   ```

2. Install NPM:
   ```
   $ sudo apt-get install -y npm
   ```

3. Confirm installation of NodeJS and NPM by verifying from the command line their version:
   ```
   $ nodejs -v
   $ npm -v
   ```

4. If you try to verify NodeJS installation with the standard command ```$ node -v```, you'll see that it doesn't exist. There is a conflict with a legacy Ubuntu package of that name. We get around this inconvenience by installing a ***symlink*** for Bash that points the ```node``` command to the ```nodejs``` package:
   ```
   $ sudo apt-get install -y nodejs-legacy
   $ node -v
   ```

   (*For more detail on this fix, read [this StackOverflow thread](http://stackoverflow.com/questions/21168141/can-not-install-packages-using-node-package-manager-in-ubuntu).*)

(*For an in-depth tutorial on installing NodeJS, especially with methods alternative to those outlined above, I'll refer you to [this DigitalOcean tutorial](https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-an-ubuntu-14-04-server).*)
{'fraction_non_alphanumeric': 0.11248930710008555, 'fraction_numerical': 0.011976047904191617, 'mean_word_length': 3.5862745098039217, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6323324', 'n_tokens_mistral': 735, 'n_tokens_neox': 673, 'n_words': 290}