Where Does Racket Store Packages and Collections?
Racket user collects in .racket plus raco packages on Windows, macOS and Linux.
Last updated
Racket keeps user collections and raco packages under .racket in home with version subfolders. Planet cache sits beside them.
Project sources stay where you cloned them. Moving machines means copying code plus reinstalling packages from info.rkt. Exact version dir names follow the install.
Where Racket stores this, by platform
%USERPROFILE%\.racket\
Versioned collects and pkgs here. Run raco pkg show for the live list. Keep project info.rkt files in git; reinstall pkgs on new machines.
~/.racket/
Same home layout on Mac. DrRacket prefs sit beside collects. Copy code, not the whole tree, when migrating.
~/.racket/
Same arrangement. Distro packages split system collects elsewhere; user adds stay in home. Exclude compiled zo caches from backups.
Frequently asked questions
Where are Racket packages installed?
Under .racket with the version in the path, managed by raco pkg. Listing shows the live set. Delete and reinstall to fix broken collects.
How do I move Racket projects?
Copy the project folder with info.rkt, then raco pkg install on the new machine. User collects rebuild from declared deps.
Notice an outdated path? Let us know.