{"id":1124,"hash":"6d010e4a49a1cde1c7ceed0dbabc3cff3dc5227a3437213bf0dbc83a3f6a0f1e","pattern":"Poetry installed but `poetry: command not found`","full_message":"I've had a million and one issues with Poetry recently.\n\nI got it fully installed and working yesterday, but after a restart of my machine I'm back to having issues with it ;(\n\nIs there anyway to have Poetry consistently recognised in my Terminal, even after reboot?\n\nSystem Specs:\n\nWindows 10,\nVisual Studio Code,\nBash - WSL Ubuntu CLI,\nPython 3.8.\n\nTerminal:\n\nme@PF2DCSXD:/mnt/c/Users/me/Documents/GitHub/workers-python/workers/data_simulator/src$ poetry run python3 cli.py\npoetry: command not found\nme@PF2DCSXD:/mnt/c/Users/me/Documents/GitHub/workers-python/workers/data_simulator/src$ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3\nRetrieving Poetry metadata\n\nThis installer is deprecated. Poetry versions installed using this script will not be able to use 'self update' command to upgrade to 1.2.0a1 or later.\nLatest version already installed.\nme@PF2DCSXD:/mnt/c/Users/me/Documents/GitHub/workers-python/workers/data_simulator/src$ poetry run python3 cli.py\npoetry: command not found\nme@PF2DCSXD:/mnt/c/Users/me/Documents/GitHub/workers-python/workers/data_simulator/src$ \n\nPlease let me know if there is anything else I can add to post to help further clarify.","ecosystem":"pypi","package_name":"windows","package_version":null,"solution":"When I run this, after shutdown of bash Terminal:\n\nexport PATH=\"$HOME/.poetry/bin:$PATH\"\n\npoetry command is then recognised.\n\nHowever, this isn't enough alone; as every time I shutdown the terminal I need to run the export.\n\nPossibly needs to be saved in a file.","confidence":0.95,"source":"stackoverflow","source_url":"https://stackoverflow.com/questions/70003829/poetry-installed-but-poetry-command-not-found","votes":98,"created_at":"2026-04-19T04:52:24.092090+00:00","updated_at":"2026-04-19T04:52:24.092090+00:00"}