UPDATE These instructions have been replaced by the much better instructions here: Installing node and npm on a Joyent SmartMachine

Here's a little tip for installing node.js (latest) on a Joyent SmartMachine (formerly called an Accelerator).

First, you'll need to be root, so lets get that out of the way:

su -

Next, create a ~src/ directory in the home directory of root and download node.js:

mkdir src
cd src
curl -O http://nodejs.org/dist/node-latest.tar.gz

untar it:

gtar -xpf node-latest.tar.gz

Now, configure, build, and install:

cd node-v*
./configure
gmake
gmake install

The gmake part will probably take the longest. And you've probably noticed I'm using gtar instead of tar and gmake instead of make. There are some difference between the Solaris versions and the GNU versions.

And that's it!