Premise: npm already installed
1 yum -y install gcc-c++
2 npm install -g websocket-bench
3 modify environment variables
Add Path
Effective immediately: source / etc / profile
4 view the version, the installation is successful
Premise: npm already installed
1 yum -y install gcc-c++
2 npm install -g websocket-bench
3 modify environment variables
Add Path
Effective immediately: source / etc / profile
4 view the version, the installation is successful