一、Linux安装
curl https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 > /usr/local/bin/repo
chmod a+x /usr/local/bin/repo
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple requests
二、Windows安装
参考:https://blog.csdn.net/qq_36016038/article/details/146052826
1.下载安装
mkdir ~/bin
curl https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 > ~/bin/repo
curl https://raw.githubusercontent.com/esrlabs/git-repo/stable/repo.cmd > ~/bin/repo.cmd
chmod a+x ~/bin/repo
2.配置环境变量
在系统环境变量PATH中添加路径(如C:\Users\用户名\bin)。


验证配置:repo --version应显示版本信息。


3万+

被折叠的 条评论
为什么被折叠?



