For operation systems: Ubuntu, Debian, and MacOS. In windows the pip and virtualenv commands should be the same once python is installed somewhere.
Use python module psutil
as example.
> sudo apt update
> sudo apt install python-pip virtualenv
> /usr/bin/virtualenv ~/venv # create virtualenv in ~/venv