install npm windows 7 code example Example 1: intall npm npm install -g npm Example 2: install npm mac brew install node