Home > OS >  Why is not recommended to install poetry with homebrew?
Why is not recommended to install poetry with homebrew?

Time:08-16

Poetry official documentation strictly recommends sticking with the official installer. However, homebrew has poetry formulae.

brew install poetry

Usually, I like to keep everything I can in homebrew to manage installations easily.

What is the drawback and risks of installing poetry using homebrew instead of the recommended installation script?

CodePudding user response:

The drawback is that poetry will be unable to upgrade itself (I've no idea what'd actually happen), and you'll not be able to install specific poetry versions. Homebrew installed poetry will probably also depend on Homebrew-installed Python, etc, instead of having its own isolated venv to execute from.

If you use homebrew to install poetry, don't try to manage that installation any way outside of homebrew. Otherwise, it's probably fine.

  • Related