Search code examples
pythonpython-poetry

What is the default install path for poetry


I installed poetry, however I'm getting the following error when attempting to call poetry

zsh: command not found: poetry 

I know I have it installed because I get the following output when trying to run the following install script

$ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python                                                                             
Retrieving Poetry metadata                                                                                                                                                                    

Latest version already installed.

Solution

  • The default install location is ~/.poetry/bin/poetry

    I added the following to my .zshrc

    export PATH="$HOME/.local/bin:$PATH"