Hacker News new | ask | show | jobs
by surbas 1959 days ago
Ran into this myself. Starting using `pyenv` instead. Never looked back. Allows you to maintain multiple versions of python outside brew's control and the system's.

https://github.com/pyenv/pyenv

What's nice is you can find analog programs for a lot of different languages and platforms including

  Node: https://github.com/ekalinin/nodeenv
  Ruby: https://github.com/rbenv/rbenv
  Terraform: https://github.com/tfutils/tfenv
3 comments

The asdf Python plugin uses python-build, the same back-end that pyenv uses. So the tools are very similar. I prefer asdf to the collection of programs you mentioned because with asdf you get a unified CLI syntax for adding/updating plugins and installing/removing versions. I like being able to use the same toolchain and UI to manage different versions of Python, Node.js, Ruby, etc. Check out the list of asdf plugins [1] — it's quite impressive.

[1] https://asdf-vm.com/#/plugins-all?id=plugin-list

Not trying to spam, but have you looked at `anyenv`? It installs and updates all of these installers (and more), and keeps plugins up to date. I've been very happy with it.
Oh noes, I will soon need to use tfenv too!?!