{"id":47918951,"url":"https://github.com/samth/rackup","last_synced_at":"2026-04-04T05:50:20.062Z","repository":{"id":342689363,"uuid":"1167574084","full_name":"samth/rackup","owner":"samth","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-28T02:06:57.000Z","size":507,"stargazers_count":8,"open_issues_count":26,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-28T08:33:28.919Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Racket","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-26T12:53:37.000Z","updated_at":"2026-03-26T00:27:23.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/samth/rackup","commit_stats":null,"previous_names":["samth/rackup"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samth/rackup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samth%2Frackup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samth%2Frackup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samth%2Frackup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samth%2Frackup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samth","download_url":"https://codeload.github.com/samth/rackup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samth%2Frackup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31389391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T04:26:24.776Z","status":"ssl_error","status_checked_at":"2026-04-04T04:23:34.147Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-04T05:50:19.436Z","updated_at":"2026-04-04T05:50:20.044Z","avatar_url":"https://github.com/samth.png","language":"Racket","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rackup\n\nA toolchain manager for [Racket](https://racket-lang.org). Install and switch between stable releases, pre-releases, snapshots, old PLT Scheme builds, and local source trees.\n\n## Install\n\n```bash\ncurl -fsSL https://samth.github.io/rackup/install.sh | sh\n```\n\nFor non-interactive mode (no prompts):\n\n```bash\ncurl -fsSL https://samth.github.io/rackup/install.sh | sh -s -- -y\n```\n\nThis installs `rackup` itself. Then install a Racket toolchain:\n\n```bash\nrackup install stable\n```\n\nSet up shell integration so that `racket`, `raco`, etc. resolve through rackup shims:\n\n```bash\nrackup init --shell bash   # or zsh\n```\n\n## Usage\n\n### Install toolchains\n\n```bash\nrackup install stable                    # current stable release\nrackup install 8.18                      # specific version\nrackup install pre-release               # latest pre-release build\nrackup install snapshot                  # latest snapshot build\nrackup install snapshot:utah             # snapshot from a specific mirror\nrackup install 4.2.5                     # historical PLT Scheme release\n```\n\n### Switch between toolchains\n\n```bash\nrackup default stable                    # set the global default\nrackup switch 8.18                       # switch in the current shell only\nrackup run snapshot -- raco test .       # run a command under a specific toolchain\n```\n\n### Link local source trees\n\n```bash\nrackup link dev ~/src/racket             # link a local Racket build\nrackup link dev ~/src/racket --set-default\n```\n\n### Other commands\n\n```bash\nrackup list                              # list installed toolchains\nrackup available                         # list installable versions\nrackup current                           # show active toolchain and source\nrackup which racket                      # show real executable path\nrackup remove 8.18                       # remove a toolchain\nrackup prompt                            # toolchain info for shell prompt\nrackup doctor                            # print diagnostics\nrackup self-upgrade                      # upgrade rackup itself\n```\n\n## Platforms\n\nrackup supports Linux (x86_64, aarch64, i386, arm32) and macOS (x86_64, aarch64). It works with both bash and zsh.\n\nPrebuilt binaries are available for all supported platforms. On platforms without a prebuilt binary, the installer bootstraps from source using a hidden internal Racket runtime.\n\n## Shell integration\n\nAfter running `rackup init`, your shell gets:\n\n- Shims on `PATH` so `racket`, `raco`, `scribble`, `drracket`, etc. resolve to the active toolchain\n- A `rackup` shell function so `rackup switch` takes effect immediately in the current shell\n- Per-toolchain `PLTHOME` and `PLTADDONDIR` management\n\nAdd toolchain info to your prompt:\n\n```bash\nPS1='$(rackup prompt) '$PS1\n```\n\n## Migrating from racket-dev-goodies\n\nIf you previously used [racket-dev-goodies](https://github.com/takikawa/racket-dev-goodies)\n(the `plt` shell function and `plt-bin` symlinks), rackup replaces it entirely.\n\n**Remove the old setup.** Delete the `plt-alias.bash` source line from your\n`.bashrc`/`.zshrc` and remove any `plt-bin` symlinks from your `PATH`. The `plt`\nfunction sets `PLTHOME` globally, which conflicts with rackup's per-toolchain\nenvironment management.\n\n**Re-register your Racket builds.** Use `rackup link` to register existing\ninstallations that you previously switched between with `plt`:\n\n```bash\nrackup link dev ~/src/racket\nrackup link 8.15 /usr/local/racket-8.15\nrackup default set dev\n```\n\nFor the short `r` and `dr` aliases from racket-dev-goodies:\n\n```bash\nrackup reshim --short-aliases\n```\n\n| racket-dev-goodies | rackup |\n|---|---|\n| `plt ~/src/racket` | `rackup link dev ~/src/racket \u0026\u0026 rackup default set dev` |\n| `plt` (show current) | `rackup current` |\n| `plt-make-links.sh` | `rackup reshim` (automatic on install/link) |\n| `plt-fresh-build` | Build manually, then `rackup link` |\n| `r` / `dr` aliases | `rackup reshim --short-aliases` |\n\n## Documentation\n\nFull command reference and usage guide: **[samth.github.io/rackup/docs.html](https://samth.github.io/rackup/docs.html)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamth%2Frackup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamth%2Frackup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamth%2Frackup/lists"}