前提:先安装nodejs,详见:如何在CentOS 7上安装Node.js和npm
#sudo npm install -g newman
结果:
/usr/local/bin/newman ->
/usr/local/lib/node_modules/newman/bin/newman.js
+ newman@4.5.5
added 157 packages from 195 contributors in 41.84s
#newman -V
查看版本
------------------------------------------------------Tanwheey--------------------------------------------------
爱生活,爱工作。