# Poetry



#### Installation:

```bash
$ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python3 -
```

Ajouter Poetry au $PATH dans `.zshrc`:

```bash
export PATH="/Users/bruno/Library/Python/3.9/bin:$PATH"
```

Complétions:

```bash
# Zsh
$ poetry completions zsh > ~/.zfunc/_poetry

# For poetry: https://github.com/python-poetry/poetry#enable-tab-completion-for-bash-fish-or-zsh
fpath+=~/.zfunc

# additional completions
autoload -U +X compinit && compinit


# Bash (Homebrew)
$ poetry completions bash > $(brew --prefix)/etc/bash_completion.d/poetry.bash-completion
```



#### Désinstallation:

```bash
$ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python3 - --uninstall
```



#### Mise-à-jour:

```bash
$ poetry self update
```

