Skip to content

Latest commit

 

History

History
90 lines (57 loc) · 2.1 KB

README.md

File metadata and controls

90 lines (57 loc) · 2.1 KB

N|Solid

N|Solid on Homebrew

Install N|Solid on macOS via Homebrew. Now you can easily install and manage the only Node.js platform built for mission-critical applications.

Usage

Installation

First, add the nsolid tap:

brew tap nodesource/nsolid

You can install the N|Solid Runtime in its Jod, iron, hydrogen variants:

To install the jod version of N|Solid Runtime:

brew install nsolid-jod

To install the iron version of N|Solid Runtime:

brew install nsolid-iron

To install the hydrogen version of N|Solid Runtime:

brew install nsolid-hydrogen

If you simply want to install N|Solid without specifying a variant, use:

brew install nsolid

To set nsolid to be an alias of a specific version (e.g., nsolid-hydrogen):

ln -s ../Formula/nsolid-hydrogen.rb Aliases/nsolid

Note: If you previously installed nsolid, you'll need to brew unlink nsolid to allow the installation, and then run brew link nsolid-jod. You can follow the same process to unlink nsolid-jod and then link nsolid back.

Note: If you don't want Homebrew to attempt to overwrite preexisting node, npm, and npx files in /usr/local/bin, add --without-node to your N|Solid install command.

To set nsolid to alias a specific variant, simply change the symlink creation command. For instance, if you want nsolid to point to the jod variant, use nsolid-jod.rb in the symlink command.

Upgrading

To update your version of N|Solid, simply run the upgrade command:

brew upgrade nsolid-jod

or

brew upgrade nsolid-iron

or

brew upgrade nsolid-hydrogen

Managing Versions

You can switch between N|Solid versions using the switch command:

brew list --versions nsolid
brew switch nsolid <version>

If you have N|Solid installed via the Developer Bundle, please uninstall it before installing from Homebrew. You can uninstall by running:

sudo /usr/local/nsolid/uninstall