Tox Installation On A Debian, Ubuntu, Arch, Kali, Fedora, Raspbian And MacOS
tox
Install tox
-
Debian
apt-get install toxClick to copy -
Ubuntu
apt-get install toxClick to copy -
Arch Linux
pacman -S toxClick to copy -
Kali Linux
apt-get install toxClick to copy -
Fedora
dnf install toxClick to copy -
Raspbian
apt-get install toxClick to copy -
macOS
brew install toxClick to copy
Automate Python testing across multiple Python versions. Use tox.ini to configure environments and test command.
How to use tox?
Below are few example commands for tox that you can use in the terminal.
Run tests on all test environments:toxClick to copyCreate a tox.ini configuration:tox-quickstartClick to copyList the available environments:tox --listenvs-allClick to copyRun tests on a specific environment (e.g. python 3.6):tox -e py36Click to copyForce the virtual environment to be recreated:tox --recreate -e py27Click to copy
To install the latest version of tox in your favorite operating system just copy the tox installation command from above and paste it into terminal. It will download and install the latest version of tox 2026 package in your OS.




