Skip to content

Instantly share code, notes, and snippets.

@nickkaczmarek
Last active May 22, 2019 15:28
Show Gist options
  • Save nickkaczmarek/298ea4069d180c4048ae2e7ee08879d2 to your computer and use it in GitHub Desktop.
Save nickkaczmarek/298ea4069d180c4048ae2e7ee08879d2 to your computer and use it in GitHub Desktop.
windows git bash pacman

Install pacman for git bash

  1. install git for windows
  2. install msys2 https://www.msys2.org/
  3. follow instructions to update pacman and install packages
  4. copy everything from msys2/usr/bin to Program Files/git/usr/bin
  5. copy msys2/etc/pacman.d and msys2/etc/pacman.conf to the same places in Program Files/git/
  6. copy msys2/var to git/var
  7. you should be able to run pacman in git bash now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment