racket - Man Page
core Racket implementation
Examples (TL;DR)
- Start a REPL (interactive shell):
racket
- Execute a Racket script:
racket path/to/script.rkt
- Execute a Racket expression:
racket --eval "expression"
- Run module as a script (terminates option list):
racket --lib module_name --main arguments
- Start a REPL (interactive shell) for the
typed/racket
hashlang:racket -I typed/racket
Synopsis
racket [ option ... ] [ argument ... ]
Description
Run
racket --help
for a list of command-line options and other start-up information.
Supplying no arguments to racket is the same as supplying the -i option for interactive evaluation.
Supplying non-switch, non-configuration arguments to racket is the same as putting -u before the arguments to run the first one as a module-based script.
More Information
For further information, run
raco docs
to open installed documentation in your web browser.
Alternately, consult the on-line documentation and other information available at
Author
Racket was implemented by Matthew Flatt and PLT. It was originally based on libscheme, written by Brent Benson.
See Also
Referenced By
drracket(1), gracket(1), mzc(1), mzscheme(1), raco(1), setup-plt(1).