【发布时间】:2018-07-19 16:12:40
【问题描述】:
根据我的阅读,人们在 mingw64 shell 中使用 npm 或 python 之类的东西。不过,听起来他们并没有在其上下文中安装它。
举个例子这里是:https://stackoverflow.com/a/26319712/5040168
或者这里:https://github.com/npm/npm/issues/962#issuecomment-40845394
嗯,我已经安装了 npm,并且能够在 Windows 命令提示符的任何位置运行它。但是在 mingw64 shell 中,我得到:
# npm install
bash: npm: command not found
# which npm
which: no npm in (/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/)
【问题讨论】: