From 08778ce944bfc147289403f385e2610fa19cd721 Mon Sep 17 00:00:00 2001 From: Arun Babu Neelicattu Date: Fri, 27 May 2022 02:35:51 +0200 Subject: [PATCH] doc: update plugin management commands --- docs/plugins.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/plugins.md b/docs/plugins.md index 761b4d68f19..7f44ba02672 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -191,30 +191,30 @@ Installed plugin packages are automatically loaded when Poetry starts up. 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. ```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. -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" >}}). -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 -poetry plugin remove poetry-plugin +poetry self remove poetry-plugin ``` You can also list all currently installed plugins by running: ```shell -poetry plugin show +poetry self show ``` ### With `pipx inject`