Setting Up Your First Environment
You’ll need Nix and devenv installed first. If you don’t have them, check out the installation guide.
For more information about these tools, see:
Creating your environment
Section titled “Creating your environment”To get started with Grove in your project, just run:
kanuka grove initThat’s it! Kānuka will create everything you need:
devenv.nix- where your environment is defined (devenv.nix reference).devenv.yaml- configuration for devenv (devenv.yaml reference).kanuka.toml- Kānuka’s own configuration file.- Updates your
.gitignoreso you don’t commit the wrong files.
Adding container support
Section titled “Adding container support”If you want to build containers from your environment, you can enable that too:
kanuka grove init --containersNext steps
Section titled “Next steps”To learn more about kanuka grove init, see the development environments concepts and the command reference.
Or, continue reading to learn how to add packages to your environment.