rackupA toolchain manager for Racket. Install and switch between stable releases, pre-releases, snapshots, old PLT Scheme builds, and local source trees.
This installs rackup itself. Then run rackup install stable
to install Racket.
Pass -y for non-interactive mode:
curl -fsSL https://samth.github.io/rackup/install.sh | sh -s -- -y
Or, to verify the install script's checksum before running it:
Racket has stable releases, historical releases going back to PLT Scheme,
pre-release builds, snapshot builds, and local source trees. rackup
handles all of them with the same interface.
Current or specific versions.
rackup install stablerackup install 8.18rackup install 5.2PLT Scheme-era installers.
rackup install 4.2.5rackup install 372rackup available 4.From pre-release and snapshot builds.
rackup install pre-releaserackup install snapshotrackup install snapshot:utahLink a built-from-source tree.
rackup link dev ~/racketscheme and petite tooWhen you install a toolchain, rackup creates shims for all of its
executables: racket, raco, scribble, slideshow,
drracket, and others. The shims go on your PATH, so your
shell, editor, and scripts use racket directly.
Switch the active toolchain with rackup default. The first
toolchain you install becomes the default automatically.
$ rackup install stable
$ rackup install pre-release
$ rackup default stable
$ racket -e '(displayln (version))'
$ raco pkg install gregorrackup install name | Install a toolchain |
rackup list | List installed toolchains |
rackup available | List installable toolchains |
rackup default name | Set the global default toolchain |
rackup current | Show the active toolchain and its source |
rackup switch name | Switch the active toolchain in this shell |
rackup run name -- cmd | Run a command using a specific toolchain |
rackup which cmd | Show path for a shimmed command |
rackup link name path | Link a local source tree |
rackup remove name | Remove an installed toolchain |
rackup prompt | Print toolchain info for shell prompt |
rackup reshim | Rebuild shims from installed toolchains |
rackup doctor | Print diagnostics |
rackup init --shell sh | Set up shell integration |
rackup self-upgrade | Upgrade rackup itself |
rackup uninstall | Remove rackup and all managed state |
rackup version | Print version info |