Arguably step one is: https://docs.anaconda.com/anaconda/install/uninstall/
Or for miniconda: https://gist.github.com/pulkitgangwar/421a1af800c5a9c6d4a77b...
Then, adopt `uv` instead, for all your Pythons: https://docs.astral.sh/uv/
The 2024-08-24 update finally does "all the things" — unified Python packaging: https://astral.sh/blog/uv-unified-python-packaging
. . .
PS. I noticed this original article's subsequent blog post gets into "env as code" but for "one tool to rule them all" one may want to consider a tool such as `mise` instead: https://mise.jdx.dev/about.html