curl https://mise.run | sh
~/.local/bin/mise --version #testing
echo "" >> ~/.bashrc #add to .bashrc
echo "#%%activate mise-en-place" >> ~/.bashrc #add to .bashrc
echo 'eval "$(~/.local/bin/mise activate bash)"' >> ~/.bashrc #add to .bashrc
mise use --global python@latest #latest version of Python
mise use --global uv@latest #uv python manager
mise list #installed tools
mise ls-remote <tool> #all available versions of tool
mise use python@<version>
mise use uv@<version>
mise set MY_VAR=123
every projects deserves its own virtual environemnt
uv does most of the things you should do for you
uv init <project-name>
uv init <project-name> --bare #minimal project
uv init <project-name> --lib #library
uv add <package-name>[>=version] [--dev] [--group] [--optional]
uv add git+<https-link>
uv remove <package-name>
uv pip compile pyproject.toml -o requirements.txt
python3 -m venv .venv
source .venv
pip3 install -r requirements.txt
use a separate uv project for each commandline tool
uv init --package <package-name>
uv run <command>
#create project
mkdir testproject
cd testproject
#add relevant software
mise use python@3.11
mise use uv@latest
#init project
uv init --package .
#run from commandline
uv run testproject