Free Tools Pricing
Log in Sign up →
Docs Backup CLI devsafe snapshot

devsafe snapshot

Captures your development environment (Homebrew packages, shell configs, runtime versions) so you can rebuild a machine exactly where you left off. Minutes, not days.

What it captures

Environment Snapshot records everything that makes your development machine yours:

Usage

Capture a snapshot

Run devsafe snapshot to capture your current environment. The snapshot is saved alongside your backups.

terminal
$ devsafe snapshot
✓ Homebrew: 87 formulae, 14 casks
✓ Shell config: .zshrc, .zprofile
✓ Runtimes: node 20.11.0, python 3.12.1, go 1.22.0
✓ VS Code: 23 extensions
✓ Global packages: 8 npm, 12 pip
Snapshot saved.

Restore from a snapshot

On a new machine (or after a clean install), restore your environment in one command.

terminal
$ devsafe snapshot restore
✓ Installing 87 Homebrew formulae...
✓ Installing 14 Homebrew casks...
✓ Restoring shell configuration...
✓ Installing runtimes: node 20.11.0, python 3.12.1, go 1.22.0
✓ Installing 23 VS Code extensions...
✓ Installing global packages...
Environment restored.

When to use it

What it does NOT capture

Environment Snapshot captures your development toolchain. It is not a full machine backup.

For git repository backups, use devsafe backup. Snapshot handles the environment around your repos, not the repos themselves.

Environment Snapshot is available on Pro and above.

Free-tier users can back up git repositories with devsafe backup. Environment Snapshot requires a Pro, Team, or Enterprise plan.