This guide walks through installing and running Forge CLI locally.
- Python 3.10 or later
- Git
- A terminal with network access to clone from GitHub
Check your Python version:
python3 --version- Clone the repository:
git clone https://github.com/ForgeCoders/forge-cli.git
cd forge-cli- (Optional) Create and activate a virtual environment:
python3 -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate- Run the CLI entrypoint:
python3 src/main.pyYou should see:
Welcome to Forge CLI!
Build. Learn. Share.
Show the welcome banner:
python3 src/main.pyFrom another directory (after cloning):
python3 /path/to/forge-cli/src/main.pypython3 -c "import pathlib; p=pathlib.Path('src/main.py'); assert p.exists(); print('ok:', p.resolve())"| Problem | What to try |
|---|---|
python: command not found |
Use python3 instead of python. |
| Wrong Python version | Install Python 3.10+ and confirm with python3 --version. |
| Clone fails | Check GitHub access and that the repo URL is correct. |
| Script prints nothing unexpected | Confirm you are in the repo root or pass an absolute path to src/main.py. |
- Read CONTRIBUTING.md to add commands or improve docs.
- See the project roadmap in README.md.