You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node 22 introduced the --run flag, which allows it to run scripts in the same way npm, pnpm, yarn and bun do. It'd be nice to support this, since it seems to be significantly faster
Suggested solution
Add node --run to the list of options that the nr command can use
PR welcome - tho I don't know if there is way we could detect that
@antfu I would assume that first checking if Node >= 22. After that, maybe ask users if they prefer to use whatever package manager they use, or node --run. If they use npm, I would turn it on by default
Clear and concise description of the problem
Node 22 introduced the
--run
flag, which allows it to run scripts in the same way npm, pnpm, yarn and bun do. It'd be nice to support this, since it seems to be significantly fasterSuggested solution
Add
node --run
to the list of options that thenr
command can useAlternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: