Skip to content

Instantly share code, notes, and snippets.

@carlos-algms
Created November 1, 2021 22:36
Show Gist options
  • Save carlos-algms/7f753943d6cc2bc12f28efb92c9bc2ad to your computer and use it in GitHub Desktop.
Save carlos-algms/7f753943d6cc2bc12f28efb92c9bc2ad to your computer and use it in GitHub Desktop.
Install Pacman on Git for Windows
  1. Install Git for Windows SDK somewhere else. You'll need more than 3 GB of free space for that.
  2. Copy ${git-sdk}/usr/bin/pacman.exe to ${git}/usr/bin
  3. Copy ${git-sdk}/etc/pacman.conf and ${git-sdk}/etc/pacman.d to ${git}/etc
  4. Copy ${git-sdk}/var to ${git}/

That's all. You can now open your Git Bash and run pacman -S python to install packages on your existing Git for Windows setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment