Install N|Solid on macOS via Homebrew. Now you can easily install and manage the only Node.js platform built for mission-critical applications.
First, add the nsolid tap:
brew tap nodesource/nsolidYou can install the N|Solid Runtime in its Jod, iron, hydrogen variants:
To install the jod version of N|Solid Runtime:
brew install nsolid-jodTo install the iron version of N|Solid Runtime:
brew install nsolid-ironTo install the hydrogen version of N|Solid Runtime:
brew install nsolid-hydrogenIf you simply want to install N|Solid without specifying a variant, use:
brew install nsolidTo set nsolid to be an alias of a specific version (e.g., nsolid-hydrogen):
ln -s ../Formula/nsolid-hydrogen.rb Aliases/nsolidNote: If you previously installed
nsolid, you'll need tobrew unlink nsolidto allow the installation, and then runbrew link nsolid-jod. You can follow the same process to unlinknsolid-jodand then linknsolidback.
Note: If you don't want Homebrew to attempt to overwrite preexisting
node,npm, andnpxfiles in/usr/local/bin, add--without-nodeto 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.
To update your version of N|Solid, simply run the upgrade command:
brew upgrade nsolid-jodor
brew upgrade nsolid-ironor
brew upgrade nsolid-hydrogenYou 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