Commit d5c22c26 by Arun Babu Neelicattu

doc: update plugin management commands

parent a1efbbd3
...@@ -191,30 +191,30 @@ Installed plugin packages are automatically loaded when Poetry starts up. ...@@ -191,30 +191,30 @@ Installed plugin packages are automatically loaded when Poetry starts up.
You have multiple ways to install plugins for Poetry You have multiple ways to install plugins for Poetry
### The `plugin add` command ### The `self add` command
This is the easiest way and should account for all the ways Poetry can be installed. This is the easiest way and should account for all the ways Poetry can be installed.
```bash ```bash
poetry plugin add poetry-plugin poetry self add poetry-plugin
``` ```
The `plugin add` command will ensure that the plugin is compatible with the current version of Poetry The `self add` command will ensure that the plugin is compatible with the current version of Poetry
and install the needed packages for the plugin to work. and install the needed packages for the plugin to work.
The package specification formats supported by the `plugin add` command are the same as the ones supported The package specification formats supported by the `self add` command are the same as the ones supported
by the [`add` command]({{< relref "cli#add" >}}). by the [`add` command]({{< relref "cli#add" >}}).
If you no longer need a plugin and want to uninstall it, you can use the `plugin remove` command. If you no longer need a plugin and want to uninstall it, you can use the `self remove` command.
```shell ```shell
poetry plugin remove poetry-plugin poetry self remove poetry-plugin
``` ```
You can also list all currently installed plugins by running: You can also list all currently installed plugins by running:
```shell ```shell
poetry plugin show poetry self show
``` ```
### With `pipx inject` ### With `pipx inject`
......
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