Skip to content

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:

To get started with Grove in your project, just run:

Terminal window
kanuka grove init

That’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 .gitignore so you don’t commit the wrong files.

If you want to build containers from your environment, you can enable that too:

Terminal window
kanuka grove init --containers

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.