Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 467 Bytes

switch-profile.md

File metadata and controls

26 lines (15 loc) · 467 Bytes

Name

nix-env --switch-profile - set user environment to given profile

Synopsis

nix-env {--switch-profile | -S} path

Description

This operation makes path the current profile for the user. That is, the symlink ~/.nix-profile is made to point to path.

{{#include ./opt-common.md}}

{{#include ../opt-common.md}}

{{#include ./env-common.md}}

{{#include ../env-common.md}}

Examples

$ nix-env --switch-profile ~/my-profile