Skip to content

Instantly share code, notes, and snippets.

@mindlace
Created November 10, 2021 20:49
Show Gist options
  • Save mindlace/1a25012d8d6ef13c96e8f4f98056a79b to your computer and use it in GitHub Desktop.
Save mindlace/1a25012d8d6ef13c96e8f4f98056a79b to your computer and use it in GitHub Desktop.
➜ ~ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python -
Retrieving Poetry metadata
# Welcome to Poetry!
This will download and install the latest version of Poetry,
a dependency and package manager for Python.
It will add the `poetry` command to Poetry's bin directory, located at:
/Users/mindlace/.local/bin
You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.
Installing Poetry (1.1.11): Done
Poetry (1.1.11) is installed now. Great!
To get started you need Poetry's bin directory (/Users/mindlace/.local/bin) in your `PATH`
environment variable.
Add `export PATH="/Users/mindlace/.local/bin:$PATH"` to your shell configuration file.
Alternatively, you can call Poetry explicitly with `/Users/mindlace/.local/bin/poetry`.
You can test that everything is set up by executing:
`poetry --version`
➜ ~ python -m pip list
Package Version
---------- -------
pip 21.3.1
setuptools 49.2.1
➜ ~ poetry self update --preview
Updating Poetry to 1.2.0a2
Updating dependencies
Resolving dependencies... (3.7s)
Package operations: 33 installs, 0 updates, 0 removals
- Installing certifi (2021.10.8)
- Installing charset-normalizer (2.0.7)
- Installing idna (3.3)
- Installing urllib3 (1.26.7)
- Installing zipp (3.6.0)
- Installing appdirs (1.4.4)
- Installing crashtest (0.3.1)
- Installing distlib (0.3.3)
- Installing filelock (3.3.2)
- Installing importlib-metadata (4.8.2)
- Installing lockfile (0.12.2)
- Installing msgpack (1.0.2)
- Installing ptyprocess (0.7.0)
- Installing pylev (1.4.0)
- Installing pyparsing (3.0.5)
- Installing requests (2.26.0)
- Installing six (1.16.0)
- Installing webencodings (0.5.1)
- Installing cachecontrol (0.12.10)
- Installing cachy (0.3.0)
- Installing cleo (1.0.0a4)
- Installing entrypoints (0.3)
- Installing html5lib (1.1)
- Installing keyring (23.2.1)
- Installing packaging (20.9)
- Installing pexpect (4.8.0)
- Installing pkginfo (1.7.1)
- Installing poetry-core (1.1.0a6)
- Installing requests-toolbelt (0.9.1)
- Installing shellingham (1.4.0)
- Installing tomlkit (0.7.2)
- Installing virtualenv (20.4.4)
- Installing poetry (1.2.0a2)
Updating the poetry script
Poetry (1.2.0a2) is installed now. Great!
➜ ~ python -m pip list
Package Version
------------------ ---------
appdirs 1.4.4
CacheControl 0.12.10
cachy 0.3.0
certifi 2021.10.8
charset-normalizer 2.0.7
cleo 1.0.0a4
crashtest 0.3.1
distlib 0.3.3
entrypoints 0.3
filelock 3.3.2
html5lib 1.1
idna 3.3
importlib-metadata 4.8.2
keyring 23.2.1
lockfile 0.12.2
msgpack 1.0.2
packaging 20.9
pexpect 4.8.0
pip 21.3.1
pkginfo 1.7.1
poetry 1.2.0a2
poetry-core 1.1.0a6
ptyprocess 0.7.0
pylev 1.4.0
pyparsing 3.0.5
requests 2.26.0
requests-toolbelt 0.9.1
setuptools 49.2.1
shellingham 1.4.0
six 1.16.0
tomlkit 0.7.2
urllib3 1.26.7
virtualenv 20.4.4
webencodings 0.5.1
zipp 3.6.0
➜ ~ cat "/Users/mindlace/Library/Application Support/pypoetry/VERSION"
1.1.11% ➜ ~
➜ ~ cat "/Users/mindlace/Library/Application Support/pypoetry/VERSION"
1.1.11%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment