snippetbashTip
just — A V8 JavaScript runtime for Linux. More information: <https://github.com/just-js/just>.
Viewed 0 times
commandjavascriptruntimeclijustmorelinuxfor
linux
Problem
How to use the
just command: A V8 JavaScript runtime for Linux. More information: <https://github.com/just-js/just>.Solution
just — A V8 JavaScript runtime for Linux. More information: <https://github.com/just-js/just>.Start a REPL (interactive shell):
justRun a JavaScript file:
just {{path/to/file.js}}Evaluate JavaScript code by passing it as an argument:
just eval "{{code}}"Initialize a new project in a directory of the same name:
just init {{project_name}}Build a JavaScript application into an executable:
just build {{path/to/file.js}} --staticCode Snippets
Start a REPL (interactive shell)
justRun a JavaScript file
just {{path/to/file.js}}Evaluate JavaScript code by passing it as an argument
just eval "{{code}}"Initialize a new project in a directory of the same name
just init {{project_name}}Build a JavaScript application into an executable
just build {{path/to/file.js}} --staticContext
tldr-pages: linux/just
Revisions (0)
No revisions yet.