How to Install
Installing Structix CLI
Structix is distributed via a GitHub repository. You can easily install it using pip, the Python package manager.
To install Structix globally on your system, run the following command:
pip install git+https://github.com/structix-cli/structix.gitIf your system uses multiple versions of Python, you may want to use pip3 to ensure that Python 3.12 is used:
pip3 install git+https://github.com/structix-cli/structix.gitAfter the installation is complete, the structix command should be available globally in your terminal.
You can verify the installation by checking the version:
structix --versionIf the command returns the current version of Structix, the installation was successful.
Upgrading Structix
If a new version of Structix is released, you can upgrade your local installation easily by re-running the install command with the --upgrade flag:
pip install --upgrade git+https://github.com/structix-cli/structix.gitKeeping Structix updated ensures that you always have access to the latest features, performance improvements, and security patches.
It is recommended to periodically check for updates if you are using Structix in production environments.
Troubleshooting Installation
If you encounter issues during installation, here are a few tips:
Ensure Python 3.12 is installed and properly configured.
You can verify this with:bashpython3 --versionUpdate pip to the latest version.
Older versions of pip may not correctly handle Git-based installations:bashpip install --upgrade pipEnsure Git is installed.
Since Structix is installed directly from a GitHub repository, you need Git installed and available in your system path.Use a Virtual Environment (Optional but Recommended).
Setting up a Python virtual environment avoids conflicts between project dependencies:bashpython3 -m venv structix-env source structix-env/bin/activate pip install git+https://github.com/structix-cli/structix.git
Using a virtual environment is highly recommended if you are managing multiple Python projects on the same machine.

