DeveloperSet

command module
v0.0.0-...-b9596fb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2026 License: MIT Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

DeveloperSet Banner

DeveloperSet

Declarative, compiled, cross-platform developer environment manager.
Dotfiles, folders, packages, and hooks—managed with style and power across Windows, macOS, and Linux.


🚀 Quick Start

One-Line Installers

Unix (Linux & macOS):

curl -fsSL https://raw.githubusercontent.com/BleckWolf25/DeveloperSet/main/install.sh | sh

Windows (PowerShell):

iwr -useb https://raw.githubusercontent.com/BleckWolf25/DeveloperSet/main/install.ps1 | iex

🛠️ Usage Commands

# 1. Initialize interactive setup wizard (Charm TUI)
developerset init

# 2. Inspect configuration and system health
developerset check

# 3. Apply declarative configuration idempotently
developerset apply

# 4. Dry-run mode to preview changes
developerset apply --dry-run

# 5. Pull latest git repository changes and re-apply
developerset sync

📄 Declarative Configuration (.developerset.toml)

[meta]
version = "1.0"
name = "My Developer Environment"

[folders]
create = [
  "~/Projects/work",
  "~/Projects/personal",
  "~/.config/custom-tools"
]

[packages]
common = ["git", "neovim", "fzf", "ripgrep"]
windows = ["winget:Git.Git", "choco:fzf"]
macos = ["brew:neovim", "brew:fzf"]
linux = ["apt:ripgrep", "pacman:fzf"]

[dotfiles]
strategy = "symlink" # "symlink" or "copy"
backup = true

[[dotfiles.files]]
src = "config/zsh/.zshrc"
dst = "~/.zshrc"
os = ["macos", "linux"]

[[dotfiles.files]]
src = "config/git/.gitconfig"
dst = "~/.gitconfig"

[hooks]
post_apply = [
  "git submodule update --init --recursive"
]

✨ Key Architectural Highlights

  • Compiled & Zero Dependencies: Built in Go for zero-runtime single binary deployment.
  • Charm TUI Styling: Beautiful terminal interface powered by lipgloss, huh, and bubbletea.
  • Idempotency Engine: Performs non-destructive checks before modifying directory trees, package installs, or dotlinks.
  • Cross-Platform Symlinking: Safe symlinking with timestamped automated backups (.bak.TIMESTAMP) and Windows Junction (mklink /J) fallbacks.
  • Package Manager Router: Unified router mapping winget, choco, brew, apt, pacman, and dnf.

🤝 Contributing & Security

Contributions are welcome! Please review our guidelines before submitting pull requests:

Licensed under the MIT License.

Documentation

Overview

Package main is the entry point for the DeveloperSet CLI application.

DeveloperSet is a declarative, compiled, cross-platform developer environment manager that orchestrates dotfiles, directory structures, package installations, and setup hooks.

Directories

Path Synopsis
cmd
Package cmd provides the Cobra command-line interface commands for DeveloperSet.
Package cmd provides the Cobra command-line interface commands for DeveloperSet.
ui
Package ui provides terminal styling, visual indicators, and banner rendering for the CLI.
Package ui provides terminal styling, visual indicators, and banner rendering for the CLI.
internal
config
Package config handles loading, parsing, template rendering, and validation of .developerset.toml.
Package config handles loading, parsing, template rendering, and validation of .developerset.toml.
engine
Package engine orchestrates the environment setup execution pipeline.
Package engine orchestrates the environment setup execution pipeline.
folder
Package folder handles directory tree creation and path resolution.
Package folder handles directory tree creation and path resolution.
osutil
Package osutil provides low-level OS abstractions, path expansions, privilege checks, and shell execution.
Package osutil provides low-level OS abstractions, path expansions, privilege checks, and shell execution.
package
Package packagemgr provides cross-platform package manager routing and installation verification.
Package packagemgr provides cross-platform package manager routing and installation verification.
symlink
Package symlink manages dotfile symlinking, timestamped backups, and fallback mechanisms.
Package symlink manages dotfile symlinking, timestamped backups, and fallback mechanisms.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL