Skip to content
LogoLogo

Quick Start

nix flake init (direct)

nix flake init -t "github:nixcafe/develop-templates#${template_name}" --refresh

Add to your Nix registry for shorter commands:

nix registry add beans "github:nixcafe/develop-templates"
nix flake init -t beans#${template_name}

With Cattery Modules

If you use cattery-modules for NixOS deployment, the templates are pre-registered:

nix flake init -t beans#${template_name}

Default Template

The default template is nix — a Nix development shell with formatting, linting, and dead code detection tools. Used when no template is specified:

nix flake init -t beans

After Initialization

nix develop    # Enter the development shell

The nix develop command drops you into a fully provisioned dev environment with all tools, dependencies, and pre-commit hooks configured.

Registry Shortcuts

We recommend registering the alias once:

nix registry add beans "github:nixcafe/develop-templates"

This allows shorter commands:

nix flake init -t beans#rust
nix flake init -t beans#python
nix flake init -t beans#node