Ding is Git's evil twin written in python.
You should have:
- Python 3.14+ installed
- pip (Python package manager)
- Git (for cloning the repository)
git clone https://github.com/opencodeiiita/DING.git
cd DINGA virtual environment keeps your dependencies isolated and prevents conflicts.
python -m venv venvWindows:
venv\Scripts\activate
pip install -e .macOS/Linux:
source venv/bin/activate
pip install -e .Once activated, you'll see (venv) prefixed in your terminal prompt.
After installation, you should see:
Successfully installed ding-1.0Test that Ding is working by running:
ding -hExpected output:
usage: ding [-h] {init,hash-objects,cat-file} ...
positional arguments:
{init,hash-objects,cat-file}
init initializes an empty ding repository
hash-objects hashes and stores the file
cat-file prints out the uncompressed data
options:
-h, --help show this help message and exitReactivating the environment: The next time you want to use Ding, simply activate the virtual environment:
- Windows:
venv\Scripts\activate - macOS/Linux:
source venv/bin/activate
This means you are good to go
This usually means either:
- The virtual environment isn't activated
- The installation didn't complete properly
Solution:
# Make sure you're in the DING directory
cd DING
# Activate the virtual environment
source venv/bin/activate # macOS/Linux
# or
venv\Scripts\activate # Windows
# Reinstall
pip install -e .All done in 71 seconds ✧。٩(ˊᗜˋ )و✧*。.