poetry add  <name>
Adds a new dependency to pyproject.toml
Arguments
| Name | Description | 
|---|
name | The packages to add | 
Options
| Name | Description | 
|---|
-h, --help | Display help information | 
-v, --verbose | Increase the verbosity of messages | 
-vv | More verbose output | 
-vvv | Debug output | 
-V, --version | Display this application version | 
--ansi | Force ANSI output | 
--no-ansi | Disable ANSI output | 
-n, --no-interaction | Do not ask any interactive question | 
--no-plugins | Disables plugins | 
--no-cache | Disables poetry source caches | 
--directory  <directory> | The working directory for the poetry command | 
-q, --quiet | Do not output any message | 
--group | The group to add the dependency to | 
--dev | Add as a development dependency. (Deprecated) Use --group=dev instead | 
--editable | Add vcs/path dependencies as editable | 
--extras | Extras to activate for the dependency | 
--optional | Add as an optional dependency | 
--python | Python version for which the dependency must be installed | 
--platform | Platforms for which the dependency must be installed | 
--source | Name of the source to use to install the package | 
--allow-prereleases | Accept prereleases | 
--dry-run | Output the operations but do not execute anything (implicitly enables --verbose) | 
--lock | Do not perform operations (only update the lockfile) |