Linux command
poetry-self 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Update Poetry
poetry self update
Add Poetry plugin
poetry self add [plugin]
Remove Poetry plugin
poetry self remove [plugin]
Show Poetry info
poetry self show
说明
poetry self manages the Poetry installation itself, separate from project dependencies. The update subcommand upgrades Poetry to the latest version, while add and remove manage Poetry plugins. The show subcommand lists installed plugins and their versions. Plugins extend Poetry's functionality with additional commands or behaviors. This operates on Poetry's own environment, not the project's virtual environment.
参数
- update
- Update Poetry itself.
- add _PKG_
- Add Poetry plugin.
- remove _PKG_
- Remove plugin.
- show
- Show installed plugins.
FAQ
What is the poetry-self command used for?
poetry self manages the Poetry installation itself, separate from project dependencies. The update subcommand upgrades Poetry to the latest version, while add and remove manage Poetry plugins. The show subcommand lists installed plugins and their versions. Plugins extend Poetry's functionality with additional commands or behaviors. This operates on Poetry's own environment, not the project's virtual environment.
How do I run a basic poetry-self example?
Run `poetry self update` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does update do in poetry-self?
Update Poetry itself.