I'm trying to install testrpc using the command
sudo npm install -g ethereumjs-testrpc
It's failing with the below error message. Can someone please help?
sudo npm install -g ethereumjs-testrpc npm WARN npm npm does not support Node.js v0.10.28 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm can't make any promises that npm will work with this version. npm WARN npm You can find the latest version at https://nodejs.org/
/usr/local/lib/node_modules/npm/lib/install.js:298 [this, (next) => { computeMetadata(this.idealTree); next() }], ^ npm ERR! Unexpected token >
npm ERR! A complete log of this run can be found in: npm ERR! /home/kumard/.npm/_logs/2017-06-25T18_34_19_267Z-debug.log
This is happening inspite of having a higher version of node
kumard@kumard-Lenovo-G580:~/.npm/_git-remotes$ node -v
v5.12.0