Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 1.01 KB

quick-start.md

File metadata and controls

55 lines (38 loc) · 1.01 KB

Quick Start

Contents

Available Modules

Basic Commands

Get a list of available subcommands and flags.

# windows
./spiderfire.exe --help

# linux
./spiderfire --help

Start a Javascript repl, exit by pressing Ctrl + C twice.

# windows
./spiderfire.exe repl

# linux
./spiderfire repl

Evaluate an inline Javascript expression.

# windows
./spiderfire.exe eval console.log('Hello there');

# linux
./spiderfire eval console.log('Hello there');

Run a Javascript file.

# windows
./spiderfire.exe run <your-file.js>

# linux
./spiderfire run <your-file.js>