formatting and sudo is mandatory for npm install -g