I have always been fascinated by Solaris based OS, perhaps due to fortune of getting my hands on a UltraSparc workstation when I was younger.
I still remember loading up the Grey and Purple box, which was dis-used because no one knew how to turn it on and use it.
And I was this young guy, who went into the department and started powering it on and installing RedHat 5.2 on it.
My language of choice nowadays is NodeJS, but after some research, I found out that it was actually not-trivial to install NodeJS / NPM onto the Solaris operating system.
But there’s a fork to the Solaris project many years back, in the form of OpenIndiana with the illumos kernel.
Joyent, with their SmartOS operating system, has done great work to porting a lot of packages over to the illumos kernel. Using their standardised package manager – pkgsrc you can install most of the software that exists on Linux / NetBSD.
Of course, in this article, we are interested in how to install NodeJS, so without further ado, let’s see how we can accomplish that.
Install the pkgsrc manager
Follow the instructions on this page – https://pkgsrc.joyent.com/install-on-illumos/
Next, we will refer to the installation instructions on the NodeJS page for SmartOS / illumos
Following the instructions above, we will install NPM
pkgin -y install npm
After all that, try doing node —version and see it run!