.\" -*- mode: troff; coding: utf-8 -*- .TH "nix3-profile-rollback" "1" "" .PP \fBWarning\fR: This program is \fBexperimental\fR and its interface is subject to change. .SH Name \fCnix profile rollback\fR - roll back to the previous version or a specified version of a profile .SH Synopsis \fCnix profile rollback\fR [\fIoption\fR\[u2026]] .SH Examples .IP "\(bu" 2 Roll back your default profile to the previous version: .LP .EX # nix profile rollback switching profile from version 519 to 518 .EE .IP "\(bu" 2 Switch your default profile to version 510: .LP .EX # nix profile rollback --to 510 switching profile from version 518 to 510 .EE .SH Description This command switches a profile to the most recent version older than the currently active version, or if \fC--to\fR \fIN\fR is given, to version \fIN\fR of the profile. To see the available versions of a profile, use \fCnix profile history\fR. .SH Options .IP "\(bu" 2 \fC--dry-run\fR .br Show what this command would do without doing it. .IP "\(bu" 2 \fC--profile\fR \fIpath\fR .br The profile to update. .IP "\(bu" 2 \fC--to\fR \fIversion\fR .br The profile version to roll back to.