Can web3 be installed globally?

Cryptocurrency News and Public Mining Pools

Can web3 be installed globally?

I am getting ready to install the current version of web3 on a machine with CentOS v.7.8, 64 bit, and npm 6.14.11.

In the past, the web3 installation had some problems. Are there any issues with using the following command to install the current version of web3? npm install -g web3

  1. Can I install web3 globally, so it will work with all domains on my server?
  2. Do I need to make any directory current before typing "npm install -g web3"?
  3. Does the default web3 installation include the features of ethereumjs-tx.js, or do I have to install something else?

Thanks!

submitted by /u/SkillDuel
[link] [comments]