The One Command I Run Before Formatting Any Machine
说明与用途
dudu 通过一条命令备份并恢复整个开发环境,包括软件包、运行时、配置文件和终端设置,省去手动重新安装的麻烦。
问题
Setting up a new or freshly formatted machine requires reinstalling many packages, runtimes, dotfiles, and terminal settings, a repetitive and error‑prone process.
结果
dudu consolidates backup and restore of packages, runtimes, dotfiles, terminal, and editor settings into a single command, reducing setup time and preventing missing configurations.
工作流
- Run
brew install fontnelle/tap/duduto install dudu - Execute
dudu backupto capture packages, runtimes, dotfiles, terminal settings, and store them locally or in cloud destinations - On a new machine, run
dudu restore --dry-runto preview actions - Run
dudu restoreto reinstall everything
证据
One command captures your setup. One command brings it back on a new machine.
No config repo to maintain. No install scripts to write.
Tokens get masked. Key files are never copied.
Pick one or more destinations, and each backup goes to all of them: local folder, iCloud Drive, Google Drive, Apple Notes.
- 记录日期: 2026-10-18T02:41:11.214Z