Poetry Operations
Jump to navigation
Jump to search
Internal
Installation
With Custom Installer
The custom installer installs Poetry in a new virtual environment to isolate it from the rest of your system. This ensures that dependencies will not be accidentally upgraded or uninstalled, and allows Poetry to manage its own environment.
Unless POETRY_HOME
environment variable is set, the custom installer will install the tool in /Users/ovidiu/Library/Application Support/pypoetry
and will link the executable from ~/.local/bin
, which will have to be added to the path, unless it is there already.
# ensure the Python version is the one you want:
python --version
# install Poetry
curl -sSL https://install.python-poetry.org | python3 -
... then add /Users/ovidiu/.local/bin
to your PATH
.
With brew
I had problems with this. This will install Poetry with the system Python version. To install Poetry with a specific Python version, see With Custom Installer section above.
brew install poetry