- Python 3.7+
- WireGuard (Automatically installed by script)
- Administrator privileges to run installation script
Download Install-ckart.ps1 from the Releases section of this repository.
powershell -ExecutionPolicy Bypass -File Install-ckart.ps1This will:
- Install WireGuard (if not already installed).
- Install the CLI from GitHub.
- Set up required environment variables.
If you have Python and WireGuard already installed, you can install the CLI directly:
pip install --upgrade git+https://github.com/ProjectIndra/Indra-cli.gitAfter installation, a .env file will be created. It must contain:
LISTEN_PORT=51820WIREGUARD_EXE=C:\Program Files\WireGuard\wireguard.exeCONFIG_PATH=C:\Users\<YourUsername>\Documents\new-client.confCONFIG_NAME=new-clientCKART_SESSION=<automatically set on auth>Run the following commands in PowerShell as Admin to allow WireGuard traffic:
New-NetFirewallRule-DisplayName "Allow WireGuard"-Direction Inbound -InterfaceAlias "new-client"-Action Allow
netsh advfirewall firewall add rule name="Allow ICMPv4" protocol=icmpv4 dir=in action=allowFrom the root of the project (where pyproject.toml is located):
python -m buildpip install dist/ckart_cli-0.1-py3-none-any.whl --force-reinstallIf you have the built distribution files (.whl or .tar.gz), install using:
# For .whl
pip install ckart_cli-0.1-py3-none-any.whl
# For .tar.gz
pip install ckart_cli-0.1.tar.gzTo upgrade the CLI directly from GitHub:
pip install --upgrade git+https://github.com/ProjectIndra/Indra-cli.gitRun the CLI with:
ckartAuthenticate with your token:
ckart auth --token <your-token>