参考链接:https://blog.csdn.net/gitblog_00635/article/details/147159665
原文链接:https://github.com/alexsarmiento/gitportable-pacman
保证你的电脑可以访问github.
前提:
已安装 git for windows
以administrator管理员权限打开git bash
运行:
bash
curl -s https://raw.githubusercontent.com/alexsarmiento/gitportable-pacman/master/install-pacman-git-bash.sh | bash