Problem
bash: wget: command not found
Windows中的git-bash相当于一个简易版的Linux Shell,提供了日常操作命令的支持,但是缺少一些相对高阶的命令,比如远程下载文件命令:wget。
Solution
下载wget对应的安装包,放到bash的执行目录即可。
- 下载wget二进制安装包,地址:
https://eternallybored.org/misc/wget/,根据操作系统选择。 - 解压安装包,将
wget.exe置于X:\Program Files\Git\mingw64\bin\目录下
Test
其实,如果有其他命令提示bash: xxx: command not found,可以采用相同的方式解决。
If you have any questions or any bugs are found, please feel free to contact me.
Your comments and suggestions are welcome!
来源:CSDN
作者:Heartsuit
链接:https://blog.csdn.net/u013810234/article/details/104408009