Files
cheatsheet-tldr/tldr/devenv
2025-12-18 00:18:39 +00:00

34 lines
729 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`