Commit 71a92be0 by finswimmer Committed by Sébastien Eustace

fix: change `self:update` to `self update` in docs and add hint about different…

fix: change `self:update` to `self update` in docs and add hint about different syntax in earlier version (#1712)
parent 05a3c85f
...@@ -44,25 +44,29 @@ which might cause conflicts. ...@@ -44,25 +44,29 @@ which might cause conflicts.
## Updating `poetry` ## Updating `poetry`
Updating poetry to the latest stable version is as simple as calling the `self:update` command. Updating poetry to the latest stable version is as simple as calling the `self update` command.
```bash ```bash
poetry self:update poetry self update
``` ```
If you want to install prerelease versions, you can use the `--preview` option. If you want to install prerelease versions, you can use the `--preview` option.
```bash ```bash
poetry self:update --preview poetry self update --preview
``` ```
And finally, if you want to install a specific version you can pass it as an argument And finally, if you want to install a specific version you can pass it as an argument
to `self:update`. to `self update`.
```bash ```bash
poetry self:update 0.8.0 poetry self update 0.8.0
``` ```
!!!note
If you are still on poetry version < 1.0 use `poetry self:update` instead.
## Enable tab completion for Bash, Fish, or Zsh ## Enable tab completion for Bash, Fish, or Zsh
......
...@@ -146,6 +146,10 @@ poetry self update 0.8.0 ...@@ -146,6 +146,10 @@ poetry self update 0.8.0
The `self update` command will only work if you used the recommended The `self update` command will only work if you used the recommended
installer to install Poetry. installer to install Poetry.
!!!note
If you are still on poetry version < 1.0 use `poetry self:update` instead.
## Enable tab completion for Bash, Fish, or Zsh ## Enable tab completion for Bash, Fish, or Zsh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment