Claw is a minimal, blazing-fast workspace management tool optimized for Windows.
It allows you to manage multiple Git repositories as a single cohesive project, driven entirely by a lightweight XML manifest file.
- Initialize huge multi-repository workspaces instantly
- Clone, fetch, and synchronize projects in bulk based on tracked branches/revisions
- Execute
gitoperations smoothly over all repositories - Powered by Python, meaning virtually perfect cross-platform compatibility (Native Windows, PowerShell, Git Bash).
Claw is distributed as a standard Python package. You do not need to download standalone binaries—you can install it directly from the source using pip!
Prerequisites: Python 3.7 or higher installed on your machine.
Open your terminal (PowerShell, Command Prompt, or Git Bash) and run:
pip install git+https://github.com/keshavjha018/claw.gitThis downloads compiling execution directly from GitHub and registers the claw executable directly in your system PATH.
When a new version is pushed to GitHub, users can update their local installation by simply adding the --upgrade flag to the install command:
pip install --upgrade git+https://github.com/keshavjha018/claw.gitNote: If you do not have Python installed, you can download the standalone
claw.exefrom the GitHub Releases page and add it to your systemPATH. No additional dependencies are required.
Claw uses an XML manifest to understand your project structure.
To create a new workspace, navigate to an empty directory and use claw init. You can point this to a local XML file, a raw web link, or a remote Git repository that contains your manifest.
claw init -u /path/to/my/manifest.xmlUsing Remote Manifest Repositories:
If you provide a Git repository URL, by default, it looks for a file named default.xml on the default branch. You can override these using the -m (manifest) and -b (branch) flags:
claw init -u https://github.com/my-org/manifests.git -b dev -m android.xmlOnce initialized, pull down all the repositories specified in your manifest:
claw syncQuickly list out what branches are currently active across all of your cloned repositories:
claw branchView the local directory paths and their corresponding remote URLs:
claw listYou can run a Git log specifically tailored to any project path, safely passing down any native git flags:
claw log path/to/my/module -n 5 --onelineIf you are modifying the source code of Claw locally, you can install it in "editable" mode:
- Clone the repository and navigate into the folder:
git clone https://github.com/keshavjha018/claw.git cd claw - Run the editable install command:
pip install -e . - To build a standalone executable
.exefile for distribution:The generated standalone binary will be placed in thepip install pyinstaller pyinstaller --onefile claw.py
dist/directory.