# Moving to /tmp folder #pushd /tmp > /dev/null # Updating sudo npm -g update # Returning to previous directory #popd > /dev/null