joyent/node — Issue #2674: Installation issues from Git
Author: Integralist
Created: 2012-02-02 09:19:30+00:00
State: open

Hello, (sorry if this is the wrong place for this query - I looked for an official Node forum on the site but couldn't see one)

I had Node version 0.4.11 installed (it was installed a long time ago and I can't even remember how I went about installing it originally).

But I tried installing the latest version so I could start playing around with Node again and found that although the Git installation from here: https://github.com/joyent/node/wiki/Installation appeared to be successful when I run `node -v` I still get `v0.4.11`?

Can I install over the top of an existing Node installation and if not how can I un-install Node so I can try running the UNIX style install from Git repository as per the Wiki page https://github.com/joyent/node/wiki/Installation demonstrates.

I've tried using https://github.com/visionmedia/n to install the latest version of Node by running its command `n 0.6.7` but although I got a `'install' finished successfully (56.705s)` it then failed to successfully remove some source files (not sure if that's an issue)...

```sh
... removing source
cp: /usr/local/include/node/ares.h: Permission denied
cp: /usr/local/include/node/ares_version.h: Permission denied
cp: /usr/local/include/node/c-ares/ares.h: Permission denied
cp: /usr/local/include/node/c-ares/ares_version.h: Permission denied
cp: /usr/local/include/node/config.h: Permission denied
cp: /usr/local/include/node/node.h: Permission denied
cp: /usr/local/include/node/node_buffer.h: Permission denied
cp: /usr/local/include/node/node_config.h: Permission denied
cp: /usr/local/include/node/node_object_wrap.h: Permission denied
cp: /usr/local/include/node/node_version.h: Permission denied
cp: /usr/local/include/node/uv-private/eio.h: Permission denied
cp: /usr/local/include/node/uv-private/ev.h: Permission denied
cp: /usr/local/include/node/uv-private/ngx-queue.h: Permission denied
cp: /usr/local/include/node/uv-private/tree.h: Permission denied
cp: /usr/local/include/node/uv-private/uv-unix.h: Permission denied
cp: /usr/local/include/node/uv-private/uv-win.h: Permission denied
cp: /usr/local/include/node/uv.h: Permission denied
cp: /usr/local/include/node/v8-debug.h: Permission denied
cp: /usr/local/include/node/v8-preparser.h: Permission denied
cp: /usr/local/include/node/v8-profiler.h: Permission denied
cp: /usr/local/include/node/v8-testing.h: Permission denied
cp: /usr/local/include/node/v8.h: Permission denied
cp: /usr/local/include/node/v8stdint.h: Permission denied
```

And then on top of that when I run `node -v` I still get `v0.4.11`?

Thanks for any help you give me on this as I'm very confused?

Kind regards,
Mark