以下是全过程,难道还缺少些步骤么?
[root@localhost t-get]# npm install -g t-get
/root/755/node-v6.11.3-linux-x64/bin/tget -> /root/755/node-v6.11.3-linux-x64/lib/node_modules/t-get/app.js
/root/755/node-v6.11.3-linux-x64/lib
└── t-get@1.1.0
[root@localhost t-get]# t-get -v
-bash: t-get: 未找到命令
[root@localhost t-get]# tegt -v
-bash: tegt: 未找到命令
[root@localhost t-get]# tget --help
-bash: tget: 未找到命令
[root@localhost t-get]#
以下是原址:
https://github.com/jeffjose/tget
你的系统PATH设置有问题
编辑
~/.bash_profile
,最后面添加