> ## Content Index
> Fetch the complete content index at: https://horrell.ca/llms.txt
> Use this file to discover other available public pages before exploring further.

# Installing node.js on a Joyent SmartMachine
- URL: https://horrell.ca/2010/05/28/installing-nodejs-on-a-joyent-smartmachine/
- Published: 2010-05-28T22:33:44.000Z
- Updated: 2019-05-03T18:01:02.000Z
- Author: Christopher Horrell
- Tags: Joyent, Node.js, #Import 2024-10-01 02:36

**UPDATE** These instructions have been replaced by the much better instructions here: [Installing node and npm on a Joyent SmartMachine](https://horrell.ca/archive/installing-node-and-npm-on-a-joyent-smartmachine)

Here's a little tip for installing [node.js](http://nodejs.org/?ref=horrell.ca) (latest) on a Joyent [SmartMachine](http://www.joyent.com/technology/smartmachines/?ref=horrell.ca) (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!