Windows下git bash中添加wget

Posted juluwangshier

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Windows下git bash中添加wget相关的知识,希望对你有一定的参考价值。

####无意中看到,刚好对自己有用,就记下来了。

Windows中git bash完全可以替代原生的cmd,但是对于git bash会有一些Linux下广泛使用的命令的缺失,比如wget命令。

在此,以安装wget命令为例,其他命令可以采用相同的方式解决:

1、下载wget二进制安装包,地址:https://eternallybored.org/misc/wget/

2、解压安装包,将wget.exe 拷贝到C:Program FilesGitmingw64in 下面;(或者解压之后将解压文件中wget.exe的路径添加到环境变量中)

至此,完成安装;

在git bash中执行 wget验证即可,done;

其他命令添加均可参考;

参考资料:

https://xingtingyang.com/554.html

 

参考博客:https://www.jianshu.com/p/fb6601795011

 

 

 

 

 

 

 

Windows下git bash中添加wget

 

 

以上是关于Windows下git bash中添加wget的主要内容,如果未能解决你的问题,请参考以下文章