Nix 101 Course / Section 1: Getting started: install Nix and score your first wins
Premium

1.4 Garbage collection on day one

Lesson 4 of 15 · 4:38

placeholder thumbnail

Sign in to watch this lesson

About this lesson

Nix keeps every version it has ever built — a feature, right up until your disk fills up. Learn the single command that safely reclaims that space on day one, so storage never becomes the reason you stop exploring. (We return to how garbage collection decides what's safe later in the course.)