How I install Python on macOS - 2023 edition

Prerequisite: asdf

  • Add python plugin & install miniforge3 (as of writing it includes python 3.10.12)
asdf plugin add python
asdf install python miniforge3-latest
asdf global python miniforge3-latest
python -m pip install --user pipx
pipx install poetry
  • Start project with poetry new
poetry new project-name

this is likely to change in the next year, since it’s Python