Installation steps (Windows)
Installation or Setup
Visit https://download.racket-lang.org and choose between the two available distributions:
-
Racketis the main distribution, it comes with several additional packages like math/number-theory as well as the DrRacket IDE. -
Minimal Racketis 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.
Installation steps for Windows:
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.
Downloading
- Go to https://download.racket-lang.org .
- Select Platform: Windows (x86, 32-bit) if you have a 32-bit system, or Platform: Windows (x64, 64-bit) if you have a 64-bit system. If in doubt, choose the 32-bit version.
- Click the download button labeled racket-6.9-i386-win32.exe (73M) (the label may be slightly different depending on the version).
Starting the installer
- Open the directory where the file was downloaded, and double-click on the
racket-….exefile. - Follow the installer’s instructions.
Setting up command-line tools
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).
Running your first program
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!")