install npm globally windows latest version code example Example: install npm globally npm install npm@latest -g