Poetry Shell Plugin

1.0.1 · active · verified Fri Apr 17

The `poetry-plugin-shell` is an official Poetry plugin that extends the Poetry CLI with a `shell` command. This command allows users to open a subshell with their project's virtual environment automatically activated, making it easy to interact with installed project dependencies. It is currently at version 1.0.1 and generally releases updates to ensure compatibility with new Poetry versions.

Common errors

Warnings

Install

Quickstart

After installing the plugin using `poetry self add`, navigate to a Poetry-managed project directory and run `poetry shell`. This will open a new subshell (e.g., bash, zsh, cmd) with your project's virtual environment activated, allowing you to run project executables or Python scripts directly.

poetry shell

view raw JSON →