Files
cheatsheet-tldr/tldr/devenv
2025-08-07 00:22:23 +00:00

34 lines
728 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# devenv
> Fast, Declarative, Reproducible and Composable Developer Environments using Nix.
> More information: <https://devenv.sh/getting-started/#commands>.
- Initialize the environment:
`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`:
`devenv up --config {{path/to/file}}`
- Clean the environment variables and re-enter the shell in offline mode:
`devenv --clean --offline`
- Delete the previous shell generations:
`devenv gc`