You are using npm install -g <pkg> here incorrectly. -g indicates that it is project independent rather than global (PC wide).
These plugins are not devDependencies, but CLI runners. When initializing, you want npm install --save-dev every single package . When you need to install these dependencies again, you simply run npm install and include something like ./node_modules/.bin/jshint in your package.json scripts so that it does not depend on the CLI.
eljefedelrodeodeljefe
source share