最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【记录】windows下安装Mercurial的hg

Windows crifan 7065浏览 0评论

【背景】

折腾:

【已解决】go语言用go get去安装第三方包出错:exec: "hg": executable file not found in %PATH%

期间,需要在windows中用到hg,才能安装go的包。

所以现在去折腾在当前的x64的win7下安装hg。

【折腾过程】

1.到官网:

http://mercurial.selenic.com/wiki/WindowsInstall

看到提示,去:

http://mercurial.selenic.com/wiki/Download

下载对应的windows的二进制安装文件:

http://mercurial.selenic.com/release/windows/Mercurial-2.7-x64.exe

得到8.49MB的Mercurial-2.7-x64.exe

2.双击安装:

welcome to the mercurial setup wizard

mercurial setup license agreement

mercurial select destination location

mercurial select start menu folder

mecurial ready to install

mercurial installing is extracting files

mecurial information page

completing the mercurial setup wizard

注意到其中,最后安装完毕,是选了把安装路径加上到PATH中的。

所以无需手动再去加入。

 

3.然后再去打开cmd,确认hg安装正常:

hg install ok mercurial disctributed scm

的确可以了。

 

【总结】

这下,window的cmd中,就可以运行hg了。

转载请注明:在路上 » 【记录】windows下安装Mercurial的hg

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

网友最新评论 (2)

  1. 博主您好,我想请问一下 能不能把这个软件发到我的邮箱 打不开他们的官网了 万分感谢 [email protected]
    小轲5年前 (2019-05-17)回复
85 queries in 0.176 seconds, using 22.15MB memory