If using standard ubuntu repos you need to install npm separately 

Tested on ubuntu 14.04 however 12.04 appears to have a separate npm package as well