All apps/Node.js

Node.js

node

JavaScript runtime built on V8.

Runs as node|macOS, Linux, Windows|nodejs.org

Command form

ai-draft · 3 tasks · 7 fields

Run a script, evaluate an expression, or syntax-check a file. Arguments passed to the script itself are not offered.

Opens the form; the finished command lands at your prompt, unrun
otty gui node
Run a scriptExample values, fixed in this page — nothing here reaches a terminal
Basic
Script*
file
Environment files
file
TasksEach one presets the form for one job
Run a script
scriptenv_file
Run and restart on change
scriptwatchenv_file
Syntax check
scriptcheck
ParametersOnly these flags are editable in the form
Script
path · positional 0
Evaluate expression
string
-e
Evaluate and print result
boolean
--print-p
Syntax check only
boolean
--check-c
Restart on file changes
boolean
--watch
Environment files
path · repeatable
--env-file
Enter the REPL
boolean
--interactive-i
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed node against its version. A form that does not match your version is not offered.