windows下面repo工具安装

下载git,安装好git,然后开启git bash,检查PATH,比如我的

$ echo $PATH
/c/Users/nomore/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/mingw64/bin:/usr/bin:/c/Users/nomore/bin:/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/Windows/System32/OpenSSH:/c/Program Files (x86)/NetSarang/Xshell 7:/c/Program Files/Go/bin:/c/Program Files/Calibre2:/c/Program Files/nodejs:/c/Users/nomore/AppData/Local/Microsoft/WindowsApps:/c/Users/nomore/AppData/Local/Programs/Microsoft VS Code/bin:/c/Users/nomore/go/bin:/c/Users/nomore/AppData/Roaming/npm:/usr/bin/vendor_perl:/usr/bin/core_perl

我们下载最新的repo工具 https://storage.googleapis.com/git-repo-downloads/repo

放到$HOME/bin下面,比如你叫admin,那么你的用户目录为/c/Users/admin/bin

目录默认不存在,你可以新建一个目录

 

分类: 默认 标签: 发布于: 2021-10-20 10:27:55, 更新于: 2021-10-20 10:27:55