Installation
System Requirements
Ethos requires Python 3.9+ and VLC player installed in the system. It is multi-platform and the goal is to make it work equally well on Linux, macOS, and Windows.
Installation
pipx
is used to install Python CLI applications globally while still isolating them in virtual environments. pipx
will manage upgrades and uninstalls when used to install Ethos.
Install pipx
If pipx
is not already installed, you can follow any of the options in the official pipx installation instructions. Any non-ancient version pipx
will do.
Install Ethos (advanced)
pipx
can install different versions of Ethos, using the same syntax as pip:
pipx install ethos-cli==0.1.2
pipx
can also install versions of Ethos in parallel, which allows for easy testing of alternate or prerelease versions. Each version is given a unique, user-specified suffix, which will be used to create a unique binary name:
pipx install --suffix=@1.8.4 ethos-cli==1.8.4
ethos-cli@1.8.4 --version
pipx install --suffix=@preview --pip-args=--pre ethos-cli
ethos-cli@preview --version
Finally, pipx
can install any valid pip requirement spec, which allows for installations of the development version from git
, or even for local testing of pull requests:
pipx install --suffix @main git+https://github.com/Itz-Agasta/ethos.git@main
pipx install --suffix @pr1234 git+https://github.com/Itz-Agasta/ethos.git@refs/pull/1234/head
It is generally recommended to use pipx or a virtual environment. pipx is particularly useful for CLI applications like Ethos because it installs them in a dedicated environment while still making them accessible system-wide while avoiding PATH errors.
If you prefer not to use pipx, you can also install Ethos inside a virtual environment using venv, or docker which provides similar isolation benefits.
Last updated