# Utilisez NPM commande d' installation newman ~ $ NPM installer newman - , Ltd Rejoignez libre ... / root / noeud-v6. 9.1 -linux-x64 / bin / newman -> / root / nœud-v6. 9.1 -linux-x64 / lib / node_modules / newman / bin / newman.js / root / node-v6. 9.1 -linux-x64 / lib Newman @ └── 3.3 . 0 # Newman installation réussie # Mais exécutera l'erreur de commande ~ Newman $ - v bash: newman: command not found ... # Installer commande supplémentaire est le même
Solution: Utilisez une variable d'environnement de configuration de commande commune
echo -e " export PATH = $ (préfixe NPM -G) / bin: $ PATH " >> ~ / .bashrc && source de ~ / .bashrc
plus de
Référence Liens: https://blog.csdn.net/wirelessqa/article/details/53393248