memo Install node.js on squeeze

use nvm install node.js

https://github.com/creationix/nvm

use apt-get install node.js*1

1. editing '/etc/apt/sources.list'

adding 'Sid' repo.

# unstable
deb http://ftp.jp.debian.org/debian/ unstable main contrib non-free
deb-src http://ftp.jp.debian.org/debian/ unstable main contrib non-free

2. creating '/etc/apt/apt.conf'

default repo with 'stable'.
you select from stable(squeeze) or testing or unstable(sid)?

APT:Default-Release "stable";

3. install node.js with apt.

# apt-get update
# apt-get install -t unstable nodejs
# apt-get install -t unstable npm

*1:refrain from atp-get install because don't pin stable