/growthbook-nix

Growthbook dev environment with Nix package manager

Primary LanguageNixMIT LicenseMIT

GrowthBook developer environment using Nix package manager.

Installation

Install Nix package manager with Determinate Nix installer:

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install

Alternatively you can use official installer:

sh <(curl -L https://nixos.org/nix/install) --no-daemon

But it doesn't enable Flakes by default, so you need to enable them manually.

Add the following to ~/.config/nix/nix.conf or /etc/nix/nix.conf:

experimental-features = nix-command flakes

Usage

From any GrowthBook repo run:

nix develop github:mkurkov/growhbook-nix

It will open new shell with all dev tools available (node, yarn, python, go, docker).

If you prefer to use your current shell, provide additional command, e.g. SHELL env variable:

nix develop github:mkurkov/growthbook-nix -c $SHELL