3 releases (breaking)
Uses new Rust 2024
| new 0.2.0 | May 17, 2026 |
|---|---|
| 0.1.0 | May 16, 2026 |
| 0.0.2 | May 15, 2026 |
#59 in Configuration
505KB
10K
SLoC
krypt
Cross-platform dotfiles manager. Rust binary. Config-driven.
A vault for your dotfiles — clone, deploy, and keep in sync across Linux, macOS, and Windows. Part of the kryptic.sh suite.
Status: pre-alpha. v0.0.2 ships the engine layers (schema parser, include expansion, path resolver, copy engine) as libraries. The CLI only exposes
krypt version,krypt validate, andkrypt pathsso far — the user-facing surface (init/link/update/setup) lands in later Phase 1 milestones. See open issues for the plan.
What it will do
- One binary to manage your dotfiles end-to-end on Linux, macOS, and Windows.
- Replaces stow (copy-based deploy with manifest-tracked drift detection).
- Replaces ad-hoc bash scripts via a declarative
.krypt.tomland a step runner. - Interactive first-run wizard that fills in user-specific values.
- Cross-distro / cross-platform package install abstraction.
Install
cargo install krypt-cli # any platform
paru -S krypt-bin # Arch (AUR)
brew install kryptic-sh/tap/krypt # macOS
scoop install krypt # Windows (planned)
nix run github:kryptic-sh/krypt # Nix (planned)
Every channel installs a binary named krypt on your $PATH.
The
kryptcrate name on crates.io is held by an unrelated 6-year-stale project — we publish the bin askrypt-clifor now. If/when the name transfers (see #37),cargo install kryptwill become the canonical install command.
Quickstart (planned API)
krypt init https://github.com/you/dotfiles # clone repo to XDG path
krypt setup # interactive wizard
krypt link # deploy
krypt update # daily-driver: pull + redeploy
krypt doctor # diagnostic
Architecture
Four-crate Cargo workspace:
| Crate | Role |
|---|---|
krypt-cli |
Binary (krypt) — clap dispatch, thin |
krypt-core |
Engine: config parser, path resolver, copy engine, manifest, runner |
krypt-pkg |
Package manager abstraction (pacman, apt, brew, scoop, winget, dnf) |
krypt-platform |
OS-specific abstractions (cfg-gated) |
License
MIT. See LICENSE.
Dependencies
~49–74MB
~1.5M SLoC