Be aware that some shells (in particular Mac Zsh) may not recognise the package name without quotes - for example `poetry add requests[security,socks]`. In this case try instead with quotes `poetry add "requests[security,socks]"`
Some shells may treat square braces (`[` and `]`) as special characters. It is suggested to always quote arguments containing these characters to prevent unexpected shell expansion.
{{% /warning %}}
{{% /warning %}}
If you want to add a package to a specific group of dependencies, you can use the `--group (-G)` option:
If you want to add a package to a specific group of dependencies, you can use the `--group (-G)` option: