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:
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 gregorPick the guide that matches your situation.
Get up and running from scratch.
curl -fsSL https://samth.github.io/rackup/install.sh | sh
rackup install stable
rackup init --shell bash # or zsh
racketManage multiple Racket versions side by side.
curl -fsSL https://samth.github.io/rackup/install.sh | sh
rackup install 8.18
rackup install stable
rackup default stable
rackup switch 8.18 # switch in current shellLink your local source tree alongside release builds.
curl -fsSL https://samth.github.io/rackup/install.sh | sh
rackup link dev ~/src/racket
rackup install stable
rackup default dev
rackup switch stable # try a release build
rackup switch dev # back to your source treeTest your package across multiple Racket versions.
rackup install stable
rackup install pre-release
rackup install 8.15
rackup run stable -- raco test .
rackup run pre-release -- raco test .
rackup run 8.15 -- raco test .Non-interactive setup for scripts and containers.
curl -fsSL https://samth.github.io/rackup/install.sh | sh -s -- -y
rackup install stable --quiet
rackup run stable -- raco test .rackup 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 upgrade | Upgrade channel-based toolchains to latest version |
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 |