File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ This switches to system-first mode, where the shims prefer your system Node.js a
4242- ` vp env install ` installs a Node.js version
4343- ` vp env uninstall ` removes an installed Node.js version
4444- ` vp env exec ` runs a command with a specific Node.js version
45+ - ` vp node ` runs a Node.js script — shorthand for ` vp env exec node `
4546
4647### Inspect
4748
@@ -81,6 +82,8 @@ vp env list-remote --lts # List only LTS versions
8182# Execute
8283vp env exec --node lts npm i # Execute npm with latest LTS
8384vp env exec node -v # Use shim mode with automatic version resolution
85+ vp node script.js # Shorthand: run a Node.js script with the resolved version
86+ vp node -e " console.log(1+1)" # Shorthand: forward any node flag or argument
8487```
8588
8689## Custom Node.js Mirror
You can’t perform that action at this time.
0 commit comments