Deskit

Quick start

Install

Homebrew

brew install deskitdev/tap/deskit

Script

curl -fsSL https://raw.githubusercontent.com/deskitdev/deskit/main/install.sh | sh

Windows

Unzip the latest release and putdkit.exe on your PATH.

View install script

The script puts one file, dkit, in ~/.local/bin, after checking the download against its published checksum. No administrator rights. dkit update brings it up to date and dkit remove takes it off again. A copy from Homebrew is updated with brew upgrade deskitdev/tap/deskit.

First commands

dkit                           # a menu of everything below
dkit clean --dry-run           # what a clean would remove; changes nothing
dkit clean                     # review the list, untick what stays, confirm
dkit purge ~/code --dry-run    # build folders in old projects under ~/code
dkit purge folders add ~/code  # save it, so a bare `dkit purge` looks there
dkit uninstall                 # choose apps, see what goes with them (macOS)
dkit installers --dry-run      # installer files you have finished with
dkit analyze ~                 # explore what is using disk space
dkit status                    # live system monitor, with battery and temperatures
dkit doctor                    # a few checks worth knowing about; changes nothing
dkit undo                      # put back what the last run is holding
dkit history                   # past runs and what can still be undone
dkit keep add ~/code/client    # never touch this folder
dkit release                   # delete what is held now; ends undo
dkit completion zsh            # print tab completion for your shell
dkit update                    # replace dkit with the latest release
dkit remove                    # remove Deskit itself; shows the list first

In a terminal these open an interactive view. Piped, or with --plain or --json, they print once and exit. Each command has its own page, listed in the overview.

What can be undone

Files that rebuild themselves, such as app caches and logs, are freed at once and cannot be undone. Anything that costs a download or a rebuild is moved aside and held for 7 days; dkit undo puts it back. Start with --dry-run: it prints the list and changes nothing.