The minimum supported Python version is python>=3.9
. Make sure you have it installed on your computer, then follow one of the installation options.
We recommend to use a virtual environment and install pyaction
inside there.
Installing with pip
pip install "pyaction[cli]"
Installing with uv
uv tool install "pyaction[cli]"
To check if the setup was successful, you can run pyaction --version
to see the installed version.
The Difference Between pyaction
and pyaction[cli]
The package pyaction
includes only the essential packages needed for your workflow on GitHub. In contrast, pyaction[cli]
provides additional tools that allow you to develop and run your action locally.