Skip to content

Developer Workspace Setup

Naomi Trevino edited this page Jul 2, 2024 · 3 revisions

1. Development Environment Setup

Nix

We use the nix package manager for builds and environments for

  • Reproducible environments across systems
  • Pinned versions of tooling Nix replaces usage of multiple other package managers

MacOS Setup

Run this command in the terminal. Then, run the following commands:

mkdir -p ~/.config/nix
echo "experimental-features = nix-command flakes" > ~/.config/nix/nix.conf

Windows Setup

Windows sucks for development. Instead, use Linux inside of Windows! WSL install guide Install nix with this command Might be relevant advice here

Linux Setup (non-NixOS)

Follow these instructions for multi-user installation. Then, run the following commands:

mkdir -p ~/.config/nix
echo "experimental-features = nix-command flakes" > ~/.config/nix/nix.conf

Install direnv

  1. Git

  2. Front-end

  3. Rust Back-end

  4. Infrastructure

  5. One Type to Rule Them All