Home  >  Q&A  >  body text

javascript - The server has installed forever but reports command not found

The server has installed forever but reports command not found. Why?

npm -g install forever has been installed globally, why can’t it be used?

[root@VM_10_237_centos server]# npm list -g --depth 0
/root/node-v6.9.5-linux-x64/lib
+-- forever@0.15.3
`-- npm@3.10.10
高洛峰高洛峰2713 days ago838

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2017-05-16 13:29:05

    forever will be installed in /usr/bin/forever by default, check it

    reply
    0
  • Cancelreply