webpack - how to put modules in path after installing them via NPM -


i installed webpack , webpack-dev-server using npm.

npm webpack webpack-dev-server --save 

i did

npm link webpack webpack-dev-server 

now when type webpack in root of project says

'webpack' not recognized internal or external command, 

operable program or batch file.

i hate everytime install have manually edit path variable of os.

is there better way of putting these utilities can invoke them ... without editing os path variable?

is there better way of putting these utilities can invoke them ... without editing os path variable?

yes, there is, npm webpack -g


Comments