
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@nyatinte/prw
Advanced tools
English | 日本語
prw is a CLI for interactively selecting a package and script in a pnpm workspace and running it. It only uses existing package.json scripts — no extra config files required.

|
|
| Filter packages with fuzzy search. | Pick a script and run it immediately. |
npm install -g @nyatinte/prw
# or
pnpm add -g @nyatinte/prw
prw
Interactively select a package and script, then run it. The root package is also available.
prw web
Package names are matched with fuzzy search. If one package matches, it goes straight to script selection. If multiple match, the package picker is shown. Frequently used packages are shown first based on history.
prw @myapp/web dev
If both are unambiguous, prw skips the selection screens and runs immediately.
Frequently used scripts are also shown first based on history.
[!NOTE] You don't need to type the full package name every time. A short query like
prw webis usually enough.
$ prw
│
◆ Select package
│
│ Search: _
│ ● (root)
│ ○ @myapp/web
│ ○ @myapp/api
│ ↑/↓ to select • Enter: confirm • Type: to search
└
After selecting a package, you move on to script selection. The focused script shows its full command in (...).
│
◇ Select package
│ @myapp/web
│
◆ Select script
│
│ Search: _
│ ● dev (vite)
│ ○ build
│ ○ test
│ ↑/↓ to select • Enter: confirm • Type: to search
└
.
├─ package.json
├─ pnpm-workspace.yaml
├─ apps/
│ └─ web/
│ └─ package.json
└─ packages/
├─ ui/
│ └─ package.json
└─ config/
└─ package.json
With a monorepo like this, you can run scripts from anywhere under apps/ or packages/, from anywhere in the workspace.
[!IMPORTANT]
prwcan be run from anywhere inside the workspace. It walks up parent directories to find the nearestpnpm-workspace.yaml.
[!NOTE] Usage history is stored per workspace at
$XDG_STATE_HOME/prw/histories/<workspace-id>.json(or~/.local/state/prw/histories/<workspace-id>.jsonwhenXDG_STATE_HOMEis unset).<workspace-id>is a SHA-256 hash of the resolved workspace root path.
MIT
FAQs
Interactive pnpm workspace package & script runner
The npm package @nyatinte/prw receives a total of 35 weekly downloads. As such, @nyatinte/prw popularity was classified as not popular.
We found that @nyatinte/prw demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.