Python package
Install the latest released version of the CLI
The easiest way to install Garaga is via pip, which will fetch and install the pre-built binary wheels for your platform.
Open your terminal or command prompt.
(Optional) If you're using a virtual environment (venv), simply activate your venv.
Run the following command to install latest release version:
pip install garagaOnce the package is successfully installed, the CLI will be accessible via the command line:
garaga
Garaga requires Python 3.10.x specifically (not 3.11 or higher). Use a Python Version Manager like pyenv to install the correct version:
pyenv install 3.10
pyenv local 3.10Install a specific version or from a specific commit / from source
To install a specific version, use :
To install a version at specific commit, pick a commit hash from the github history and use :
Version Compatibility: When installing from a specific commit, ensure all Garaga components match:
The
garagaCairo dependency inScarb.tomlshould use the same version (e.g.,garaga = "1.0.1"or the same git tag)If using Rust/npm SDKs, use the same version for those as well
See the main documentation for details on why version matching matters.
Installation troubleshooting
You might have some dependencies issues on Linux or MacOs related to some packages that uses C code.
Refer to the installations notes of Starknet.py https://starknetpy.readthedocs.io/en/latest/installation.html to fix those issues.
Last updated
Was this helpful?