2025-03-14 21:59:59 -06:00
|
|
|
# devenv
|
|
|
|
|
|
|
|
|
|
> Fast, Declarative, Reproducible and Composable Developer Environments using Nix.
|
2025-09-14 18:48:49 -06:00
|
|
|
> More information: <https://devenv.sh/getting-started/#commands>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
- Initialize the environment:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`devenv init`
|
|
|
|
|
|
|
|
|
|
- Enter the Development Environment with relaxed hermeticity (state of being airtight):
|
|
|
|
|
|
|
|
|
|
`devenv shell --impure`
|
|
|
|
|
|
|
|
|
|
- Get detailed information about the current environment:
|
|
|
|
|
|
|
|
|
|
`devenv info --verbose`
|
|
|
|
|
|
|
|
|
|
- Start processes with `devenv`:
|
|
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
`devenv up --config {{path/to/file}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Clean the environment variables and re-enter the shell in offline mode:
|
|
|
|
|
|
|
|
|
|
`devenv --clean --offline`
|
|
|
|
|
|
|
|
|
|
- Delete the previous shell generations:
|
|
|
|
|
|
|
|
|
|
`devenv gc`
|