Setup CHKware cli
This section describe the installation process for CHKware. The currently supported python version is Python 3.13.x. You need to have this version of python in your OS to continue.
Install dependencies
Install CHKware cli with pipx
pipx
is a standard PyPI python application manager. pipx
creates separate virtual environment for given installable package. So, your system have less side effect.
The best way is to setup CHKware with pipx. Follow the steps:
- Setup
pipx
. macOS guide, linux guide, windows guide - Then install CHKware with pipx.
pipx install chk
Install CHKware cli with Pip
CHKware require Python 3.13.x version.
pip
gets installed with Python. You should use updated pip version.
python
command should be automatically setup on install. Based on OS it also can be py
(windows), python3
or python3.13
(macOS / Linux) based on the package manager that was used to install Python.
It is RECOMMENDED to use a virtual environment when using via pip
.
For windows users, please follow this nice article to create and use virtual environment.
- Linux
- macOS
- Windows (cmd)
- Windows (Powershell)
- Create python virtual environment.
python3 -m venv ~/.chkware-venv/
- Activate virtual environment.
source ~/.chkware-venv/bin/activate
- Create python virtual environment.
python3 -m venv ~/.chkware-venv/
- Activate virtual environment.
source ~/.chkware-venv/bin/activate
- Create python virtual environment.
py -m venv C:\.chkware-venv
- Activate virtual environment.
C:\.chkware-venv\Scripts\activate.bat
- Create python virtual environment.
py -m venv C:\.chkware-venv
- Activate virtual environment.
C:\.chkware-venv\Scripts\Activate.ps1
- Install CHKware cli in the virtual environment.
pip install -U chk
To upgrade to the next released version, run the same command.
Update CHKware cli
pipx
If CHkware was installed with pipx then to upgrade to latest released version.
pipx upgrade chk
pip
If CHkware was installed with pip then to upgrade to latest released version.
Activate the virtual environment from step 2 before running following command.
pip install -U chk
[Advance users] Install edge version of CHKware cli
You can always install a tagged version directly from git
pipx
# latest dev release
pipx install git+https://github.com/chkware/cli.git@main
# or a tagged version
pipx install git+https://github.com/chkware/[email protected]
pip
Create and activate the virtual environment before running following command.
# latest dev release
pip install -U git+https://github.com/chkware/cli.git@main
# or a tagged version
pip install -U git+https://github.com/chkware/[email protected]