Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

paku: pacman for Git Bash

paku is a pacman-compatible package manager for Git Bash (Git for Windows). It downloads packages from the official MSYS2 repositories and installs them per user into ~/.local, so you never need an administrator shell. Commands and options match MSYS2 pacman: paku -Syu, paku -S rsync, paku -Rs, paku -Qq.

paku is not affiliated with MSYS2, Arch Linux’s pacman or Git for Windows.

Status: usable for daily work. Install, upgrade, remove and signature checks work; see Limitations for what is missing.

Key features

  • pacman-compatible CLI: same operations, options and combined short flags (-Syu, -Qqe, -Rns) as MSYS2 pacman.
  • No admin rights: installs per user under ~/.local; programs land in ~/.local/bin.
  • Official MSYS2 repositories: msys, ucrt64 (x64) and clangarm64 (ARM64) packages.
  • x64 and ARM64: picks the environment from the real CPU, even when Git Bash runs under x64 emulation.
  • Reuses Git for Windows: packages already bundled with Git count as installed and are never replaced.
  • Single binary: one paku.exe, no dependency on curl, gpg, zstd or tar.

Quick start

In Git Bash:

curl -fsSL https://raw.githubusercontent.com/haba713/paku/master/install.sh | sh
paku -Sy                # download the package databases
paku -S rsync           # install rsync and its missing dependencies

Next steps:

  • Installation: prerequisites, PATH setup, manual install
  • Usage: searching, installing, upgrading and removing packages
  • Configuration: where files go, paku.conf, limitations

More information