Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/cli/add.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,16 @@ pnpm --allow-build=esbuild add my-bundler

This will run `esbuild`'s postinstall script and also add it to the `onlyBuiltDependencies` field of `pnpm-workspace.yaml`. So, `esbuild` will always be allowed to run its scripts in the future.

### --registry

Specify the registry to use for this installation.

Example:

```
pnpm add --registry=https://registry.npmjs.org/ lodash
```

### --filter <package_selector\>

[Read more about filtering.](../filtering.md)
Expand Down