← ClaudeAtlas

flox-environmentslisted

Use when creating reproducible cross-platform (macOS/Linux) dev environments with Flox, or when a project mentions .flox/, manifest.toml, or flox activate. Covers the exact manifest.toml schema ([install], [vars], [hook], [profile], [services], [include], [options]), version pinning, pkg-group/priority conflict resolution, per-language recipes, and CLI commands.
Mixard/fable-pack · ★ 1 · AI & Automation · score 74
Install: claude install-skill Mixard/fable-pack
# Flox Environments Flox creates reproducible development environments defined in a single TOML manifest, built on Nix (150,000+ packages), working identically on macOS and Linux without containers. Environments live in `.flox/env/manifest.toml` and are entered with `flox activate`. Key paths: - `.flox/env/manifest.toml` — environment definition (commit this) - `$FLOX_ENV` — runtime path to installed packages (like `/usr`: `bin/`, `lib/`, `include/`) - `$FLOX_ENV_CACHE` — persistent local storage for caches, venvs, data (survives rebuilds; NOT committed) - `$FLOX_ENV_PROJECT` — project root (where `.flox/` lives) ## CLI Commands ```bash flox init # Create new environment flox search <package> [--all] # Search packages (case-sensitive; --all for broader search) flox show <package> # Show available versions flox install <package> # Add a package flox list # List installed packages flox list -c # Show raw manifest flox activate # Enter environment flox activate -- <cmd> # Run one command inside the environment, no subshell flox activate --start-services # Enter environment and start [services] flox edit # Edit manifest interactively flox edit -f <file> # Apply a manifest from a file flox push # Push environment to FloxHub flox activate -r owner/env-name # Activate a remote FloxHub environment ``` ## Manifes