Skip to main content

What you need

Before you can use Anchor4Git, you need Git installed on your computer.

Install Git

  1. Go to https://git-scm.com/
  2. Download the version for your operating system
  3. Run the installer (the default options are fine)
  4. Open a terminal (Command Prompt on Windows, Terminal on Mac/Linux)
  5. Type git --version to verify it’s installed — you should see something like git version 2.40.0 or similar

Use Anchor4Git

The temporary way (easy & recommended):
This does installs the command on your device only temporarily and is rather directly use. Both pipx and uvx can be used.
If you don’t have pipx, install it first: pip install pipx
Alternative (with permanent installation):
On some systems you may need to use pip3 instead of pip.

Verify the installation

If you are not using the temporary method, then run this command:
You can also run anchor4git --help
You should see a help screen showing all available commands. If you see an error like “command not found”, try closing and reopening your terminal.

What gets installed

Two commands become available on your computer if not using the temporary method: Both do exactly the same thing. Use whichever is easier for you. If you use the temporary method, always use the full command.
For example, pipx anchor4git and then include the command you want to run,
like pipx anchor4git fetch
Further in the documentation, only ag has been used. Please replace it with whatever method is suitable for you.

Updating Anchor4Git

To get the latest version:
Last modified on July 16, 2026