CLI Reference
Elide supports multiple sub-commands, similar to Git or Bun.
Usage
Syntax:
Runner Commands
run
,r
,repl
Run a script file or a snippet of code; if no code is given, start an interactive REPL session. Elide will select an appropriate language if given a clearly identifiable source file (Python for
.py
, Ruby for.rb
, etc.).serve
Alias to
run
a server in any language; Elide will block until the server exits.python
Alias to
run
some Python. Equivalent toelide run --python ...
.ruby
Alias to
run
some Ruby. Equivalent toelide run --ruby ...
.js
Opens a file. Equivalent to
elide run --javascript ...
. Note that JavaScript is the default language engine.
Utility Commands
info
Show info about the current installation of Elide.
discord
Open an invite to Elide's Discord server.
help
Show documentation on various topics.
bug
,issue
File an issue or a feature request for Elide.
selfupdate
Upgrade Elide to the latest version in-place.
Global Options
Describe what each option is used for:
- -h, --help
Show help text for any command.
- -v, --version
Show the installed version of Elide and exit.
- --verbose
Activate verbose logging.
- -d, --debug
Activate debug logging. Caution: Debug-level logging can be very verbose.