<commit_before># Latest Node

Automatically download and install Node.js directly from https://nodejs.org.

Download, validate the shasum, compile, and install a Node.js stable version. This includes both `node` and `npm` executables. New versions override versions previously installed by `Latest Node`.


## Quick Start

After downloading the `latest-node.sh` script, make it executable by running from a command prompt:
~~~ bash
	chmod u+x latest-node
~~~

There are three types of installation that `latest-node.sh` can carry. In any of these cases, Node.js becomes available as `node` after installation.

#### Install the Latest Version
To install the latest available version of Node.js, run from a command prompt:
~~~
	latest-node
~~~

#### Install a Specific Release
To install a specific release (e.g. v0.12.11), run from a command prompt:
~~~
	latest-node v0.12.11
~~~

#### Install the Latest Release of a Specfic Version
To install the latest release of a specific version (e.g. v0.12), run from a command prompt:
~~~
	latest-node v0.12.x
~~~


## Dependencies

`Latest Node` requires:
* Bash
* Curl
* C and C++ compiler infrastructure required by Node.js: clang or gcc, and clang++ or g++.


## License

MIT license. See the LICENSE file for details. 

<commit_msg>Improved documentation<commit_after># Latest-Node

*Download, compile, and install Node.js automatically from https://nodejs.org.*

# Introductions
Latest-node is a shell script that checks for NodeJS updates, and if a newer version is available, automatically downloads and installs the new version.

Latest-node can also download and install a specific stable version.

Latest-node automates the following operations:
* Checks for a specific version or latest stable version of NodeJS.
* Downloads the source code from https://nodejs.org.
* Validates the shasum of the sources.
* Compiles and install teh code.

Latest-node installs both `node` and `npm` executables.

New versions override versions previously installed by latest-node.

# Setup

After downloading the `latest-node.sh` script, make it executable by running from a command prompt:
~~~ bash
	chmod u+x latest-node
~~~

# Usage

Latest-node supports three types of installation. Regardeless of the type of installation, latest-node always overwrites the `node` and `npm` binaries.

#### Install the Latest Version
To install the latest available version of Node.js, run from a command prompt:
~~~
	latest-node
~~~

#### Install a Specific Release
To install a specific release (e.g. v0.12.11), run from a command prompt:
~~~
	latest-node v0.12.11
~~~

#### Install the Latest Release of a Specfic Version
To install the latest release of a specific version (e.g. v0.12), run from a command prompt:
~~~
	latest-node v0.12.x
~~~


# Dependencies

Latest0-node requires:
* Bash
* Curl
* C and C++ compiler infrastructure required by Node.js: clang or gcc, and clang++ or g++.


# License

MIT license. See the LICENSE file for details. 


{'fraction_non_alphanumeric': 0.09026845637583893, 'fraction_numerical': 0.011073825503355705, 'mean_word_length': 4.239015817223199, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6357464', 'n_tokens_mistral': 888, 'n_tokens_neox': 833, 'n_words': 397}