Visit https://download.racket-lang.org and choose between the two available distributions:
Racket
is the main distribution, it comes with several additional packages like math/number-theory as well as the DrRacket IDE.
Minimal Racket
is far smaller and comes only with the needed packages.
To run a program, open DrRacket, enter the program starting with #lang racket
, and click the Run
button near the top-right corner.
The installation is very simple. If you are used to this kind of thing, just go to https://download.racket-lang.org, then download and run the installer. A more detailed step-by-step walkthrough is detailed afterwards, if you prefer.
racket-….exe
file.To set up the command-line tools, open DrRacket, click the Help menu, and click "Configure Command Line for Racket." This will install the racket
and raco
commands. (On Windows, the racket
command is Racket.exe
).
To run a program, open DrRacket, enter the program starting with #lang racket
, and click the Run
button near the top-right corner. Here is a first example program:
#lang racket
(displayln "Hello Racket!")