This tells snapd to keep just two revisions of each snap, down from the default three, freeing disk space on snap-heavy systems. Older revisions are what snap revert rolls back to, so a smaller retain window means fewer rollback options. Read the current value with snap get system refresh.retain.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.