HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

devenv — Fast, declarative, reproducible, and composable developer environments using Nix. More information:

Submitted by: @import:tldr-pages··
0
Viewed 0 times
declarativecommandandclifastreproduciblecomposabledevenv

Problem

How to use the devenv command: Fast, declarative, reproducible, and composable developer environments using Nix. More information: <https://devenv.sh/getting-started/#commands>.

Solution

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

Code Snippets

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

Context

tldr-pages: common/devenv

Revisions (0)

No revisions yet.