Try to install web3, without "-g", just npm install web3 ([like the package states][1]) [1]: https://www.npmjs.com/package/web3 -g is used to have the command available in all directories, but you will only need web3 in your client javascript project.