Python Poetry

June 18, 2025 ยท View on GitHub

VS Code Marketplace Version GitHub license GitHub Actions codecov Codacy Badge Checked with Biome

Github-sponsors BuyMeACoffee Ko-Fi LiberaPay Patreon PayPal

Python Poetry support for VS Code to manage Poetry commands.

Installation

Python Poetry can be installed from the VS Code Marketplace or by searching within VS Code.

Features

You can activate the commands by launching the command palette (View > Command Palette) and enter the command name.

Commands

Command PalettePoetry commandDescription
Install packagespoetry installRead the pyproject.toml file, resolve the packages, and install them
Install packages (with options)poetry install [--options]Install the packages with additional options
Add packagespoetry add <package>Add required packages to your pyproject.toml and install them
Deprecated Add dev packagespoetry add --dev <package>Deprecated, use Add packages instead. Add required dev packages and install them
Remove packagespoetry remove <package>Remove packages from the current list of installed packages
Deprecated Remove dev packagespoetry remove --dev <package>Deprecated, use Remove packages instead. Remove dev packages
Update all packagespoetry updateUpdate all packages from the current list of installed packages
Update all packages (with options)poetry update [--options]Update all packages with additional options
Deprecated Update all packages (ignore dev)poetry update --no-devDeprecated, use Update all packages (with options) instead. Update all packages without the dev packages
Update selected packagespoetry update <package>Update selected packages
Lock packagespoetry lockLock the packages specified in pyproject.toml
Lock packages (no update)poetry lock --no-updateLock the packages without updating the locked versions