Den is a lightweight Makefile-based tool to set up and manage your development environment across machines.
den/
├── Makefile # Entry point
├── dotfiles/ # Tracked dotfiles (zshrc, etc.)
└── core/
├── os.mk # OS + distro detection
├── libs.mk # System packages (dnf, apt, etc.)
├── dev.mk # Dev tools (NVM, etc.)
├── dotfiles.mk # Symlink dotfiles, install missing zsh plugins
└── obsidian.mk # Syncthing + Obsidian vault setup
make install
make update
make info
-
Detects OS and distro
-
Installs base packages:
- git
- curl
- wget
Supports:
- Fedora (dnf)
- Ubuntu (apt)
- macOS (planned)
- Installs NVM (Node Version Manager)
- Automatically configures
~/.zshrc - Loads NVM in the current session
make link-dotfiles— symlinks tracked dotfiles (e.g.~/.zshrc) into place, backing up any existing file, and auto-installs any oh-my-zsh plugins reported missingmake unlink-dotfiles— removes the symlinks and restores the backupmake update-dotfiles— copies your current~/.zshrcback into the repo so changes can be committed
make install-syncthing— installs Syncthing and enables it as a systemd user servicemake syncthing-status— shows whether Syncthing is running and the web UI URLmake setup-vault— prints your device ID and next steps for syncing your Obsidian vault ($(VAULT_PATH), default~/secondary-brain)
After installation, NVM is:
- Added to your
.zshrc - Loaded during install
For full shell availability:
source ~/.zshrc
- Add macOS (brew) support
- Auto-install Node LTS using NVM
- Add pnpm/yarn global setup
- Add Go installation
- Add Docker setup
- Add Kafka/local services setup
- Create
make setupfor full bootstrap - Improve error handling
- Add logging for installs/updates
git clone <your-repo>
cd den
make install