Repository navigation
Releases
OMG 0.2.1
OMG (Oh My Gigabytes) 0.2.1: see where your disk space went and take it back. omg scans file metadata into a private local index, explains which developer caches, build folders, old toolchains and leftovers take space, and deletes what you choose after you confirm.
Development preview. Delete is permanent and not qualified on any platform. Read Deleting files before you use it. Nothing is uploaded.
What's new since 0.2.0
- Big old downloads, copies, models and developer data go to OMG Trash. After a scan, OMG now also adds these when they are unchanged for 30 days, on every platform: installers in
~/Downloadsfrom 10 MB and archives from 100 MB, older copies of release folders from 10 MB (the newest copy is kept), downloaded ML models from 1 GB, and developer data such as Simulator devices, Android system images and emulators, Vagrant boxes, .NET SDKs and editor caches from 1 GB. Disk images, Xcode archives and conda environments stay listed only. Nothing is deleted until you confirm, and auto delete takes these only if you also allowed repositories, application data and toolchains. - Secret files are refused. Files such as
.netrc,.pypirc,.yarnrc.yml,credentials.json,client_secret.json, the gh, gcloud, Terraform and Kaggle token files,.env.localand other.env.*files, looseid_rsa/id_ed25519keys,.vault-token,.s3cfg,.htpasswd,~/.password-storeand key stores (.p12,.pfx,.jks,.keystore,.kdbx,.ppk) could be added to OMG Trash and deleted. They are now refused as a "credential or key file", on their own and inside an ordinary folder. A whole old project still goes with them: a Git repository untouched for 30 days, an old clone OMG adds to OMG Trash (an untracked.env.localor key no longer keeps it out), and a folder outside Git with a project file such aspackage.jsonand nothing changed for 30 days, which now gets a warning that its env files and keys go with it. Caches andnode_modulesstay deletable too. - Application data is listed, not suggested. An application's folder unchanged for 5 months is now listed in Findings only from 1 GB (was 50 MB), and a scan no longer adds it to OMG Trash. It holds the application's own settings and files, so it is deleted only if you add it yourself. Folders a scan added with an earlier version leave OMG Trash on the next scan that adds suggestions; ones you added yourself stay.
omg cleanno longer accepts theunused_appscategory. - Standard folders are refused on Windows and Linux too. In 0.2.0, Browse offered to delete a whole
AppData,Documents,Desktop,~/.configor~/.local/shareafter one confirmation, which would remove every app's settings and sign-ins. These folders are now refused as on macOS ("a standard Windows folder; choose what is inside it instead"); what is inside them is still judged item by item. - Git Bash on Windows. In Git Bash's default mintty window the interface started but ignored the arrow keys and printed keys such as
2on screen. It now says so and suggestswinpty omg.cmd, Git Bash inside Windows Terminal, or PowerShell; commands such asomg statusandomg scanwork there as before. - Interface. The "terminal too small" message wraps instead of being cut off, wrapped lines in dialogs keep their margin, and the header counts entries (files and folders) instead of calling them files.
Install
npm install --global oh-my-gigabytes
omgNeeds Node 22 or newer. The first run scans your home folder (omg scan --root ~/code scans any other folder). Press 1 to 5 to switch views, ? for all keys, q to quit.
To uninstall, run omg auto-delete off and omg schedule disable (macOS, Windows) or omg service uninstall (Linux) first, then npm uninstall --global oh-my-gigabytes.
Platforms
| System | Scans | Deletes on |
|---|---|---|
| Linux x86_64, ARM64 (glibc 2.28+, kernel 5.6+) | ext4, XFS, Btrfs, tmpfs | ext4, Btrfs, tmpfs |
| Windows 11 x64 | NTFS, ReFS | NTFS |
| macOS 15+ on Apple silicon | APFS, HFS+, exFAT, FAT | APFS |
The signed macOS package was installed and tested on an Apple silicon Mac, including delete scenarios. The index format is unchanged from 0.2.0, so an upgrade keeps your index. Every target also runs the full test suite on hosted runners. No platform is certified.
Verify
Every launch checks the native binary against an Ed25519-signed manifest and refuses one that does not match. The release key fingerprint is unchanged since 0.1.0:
01deacfe588025e045419b57c4f39abd9f151294c8310e0a0dd28a18c9d9adc0
It must match KEY-FINGERPRINT.txt below. To install a downloaded file offline:
shasum -a 256 -c SHA256SUMS --ignore-missing # Linux: sha256sum -c SHA256SUMS --ignore-missing
npm install --global --ignore-scripts --offline ./oh-my-gigabytes-offline-<target>-0.2.1.tgzFiles
| File | What it is |
|---|---|
oh-my-gigabytes-offline-<target>-0.2.1.tgz |
Everything for one system in a single file, for offline installs. Targets: darwin-arm64, linux-x64-gnu, linux-arm64-gnu, win32-x64 |
oh-my-gigabytes-0.2.1.tgz and oh-my-gigabytes-<target>-0.2.1.tgz |
The packages published to npm |
SHA256SUMS |
Checksums of every package |
release-public.pem, KEY-FINGERPRINT.txt |
The public release key and its fingerprint |
dependency-inventory.cdx.json |
Software bill of materials (CycloneDX) |
Not in this release
Moving to the system trash (delete is permanent, with no undo), a background scan service on macOS or Windows (a daily scan-only job is available), Apple notarization, Windows Authenticode signing, Intel Macs, Windows on Arm and musl Linux.
Known issues
- Disk images (
.dmg) are never offered for deletion, even old installers in Downloads, because a.dmgcan also be your own encrypted image. Delete old ones in Finder. - Freed space can be less than shown when hard links, APFS clones or snapshots share data. "Unused for 5 months" goes by when files last changed, not when an app was last opened.
Report a problem
Bugs: Issues. Security problems: privately, as described in SECURITY.md.
MIT OR Apache-2.0.
OMG 0.2.0
OMG (Oh My Gigabytes) 0.2.0: see where your disk space went and take it back. omg scans file metadata into a private local index, explains which developer caches, build folders, old toolchains and leftovers take space, and deletes what you choose after you confirm.
Development preview. Delete is permanent and not qualified on any platform. Read Deleting files before you use it. Nothing is uploaded.
What's new since 0.1.0
- Auto delete. Off by default. Turn it on from the options menu (
m) or withomg auto-delete on --every 7, after a permission screen. omg then deletes what has waited unchanged in OMG Trash for 1 day, 7 days, 1 month or 6 months, in the background. Changed items wait again,Kkeeps an item out, whole repositories, application data and toolchains need a second permission, and by default it runs only on mains power.omg auto-delete status --itemssays why each item is due, waiting or kept, and turning it off takes effect at once. Dempties OMG Trash after one confirmation that shows every item and its warnings.- Removed suggestions come back once they have doubled, grown by 1 GB, or after 30 days.
omg trash --add PATHand--remove PATHmanage OMG Trash from the shell.- More developer leftovers: Poetry, PDM, Hatch, pipx and Yarn 2+ caches, Bazel output (Linux), SwiftUI previews and watchOS, tvOS and visionOS device support. Listed only: Simulator devices, Android system images, Vagrant boxes, .NET SDKs and old editor compiled code.
- Interface: a total at the top of Findings, an explanation of partial scans (and which macOS privacy setting to allow), better small terminals and a new scan animation.
omg doctorreports auto delete and catches a scheduled job whose omg binary is gone (afternpm uninstallor an nvm switch).- Fixes: Docker build cache with several items now cleans;
omg treeon an excluded folder reports unknown instead of 0 bytes; the Linux link refusal names the link; the scan progress estimate uses the last scan of the same folder.
Full list: CHANGELOG.md.
Install
npm install --global oh-my-gigabytes
omgNeeds Node 22 or newer. The first run scans your home folder (omg scan --root ~/code scans any other folder). Press 1 to 5 to switch views, ? for all keys, q to quit.
To uninstall, run omg auto-delete off and omg schedule disable (macOS, Windows) or omg service uninstall (Linux) first, then npm uninstall --global oh-my-gigabytes.
Platforms
| System | Scans | Deletes on |
|---|---|---|
| Linux x86_64, ARM64 (glibc 2.28+, kernel 5.6+) | ext4, XFS, Btrfs, tmpfs | ext4, Btrfs, tmpfs |
| Windows 11 x64 | NTFS, ReFS | NTFS |
| macOS 15+ on Apple silicon | APFS, HFS+, exFAT, FAT | APFS |
The signed packages were installed and tested by hand on an Apple silicon Mac, including delete scenarios and an upgrade of an existing index. The same binaries were tested by hand on a Windows 11 PC and Ubuntu 24.04 under WSL2, including delete in a throwaway folder. Every target also runs the full test suite on hosted runners. No platform is certified.
Verify
Every launch checks the native binary against an Ed25519-signed manifest and refuses one that does not match. The release key fingerprint is unchanged from 0.1.0:
01deacfe588025e045419b57c4f39abd9f151294c8310e0a0dd28a18c9d9adc0
It must match KEY-FINGERPRINT.txt below. To install a downloaded file offline:
shasum -a 256 -c SHA256SUMS --ignore-missing # Linux: sha256sum -c SHA256SUMS --ignore-missing
npm install --global --ignore-scripts --offline ./oh-my-gigabytes-offline-<target>-0.2.0.tgzFiles
| File | What it is |
|---|---|
oh-my-gigabytes-offline-<target>-0.2.0.tgz |
Everything for one system in a single file, for offline installs. Targets: darwin-arm64, linux-x64-gnu, linux-arm64-gnu, win32-x64 |
oh-my-gigabytes-0.2.0.tgz and oh-my-gigabytes-<target>-0.2.0.tgz |
The packages published to npm |
SHA256SUMS |
Checksums of every package |
release-public.pem, KEY-FINGERPRINT.txt |
The public release key and its fingerprint |
dependency-inventory.cdx.json |
Software bill of materials (CycloneDX) |
Not in this release
Moving to the system trash (delete is permanent, with no undo), a background scan service on macOS or Windows (a daily scan-only job is available), Apple notarization, Windows Authenticode signing, Intel Macs, Windows on Arm and musl Linux.
Known issues
- Credential files are protected by folder name (
.ssh,.aws,credentialsand others) and by type (.pem,.key,.env, databases). Other secret files, such ascredentials.jsonor~/.npmrc, are not recognized yet, so check what you add to OMG Trash yourself. - Freed space can be less than shown when hard links, APFS clones or snapshots share data. "Unused for 5 months" goes by when files last changed, not when an app was last opened.
Report a problem
Bugs: Issues. Security problems: privately, as described in SECURITY.md.
MIT OR Apache-2.0.
OMG 0.1.0
OMG (Oh My Gigabytes) 0.1.0: see where your disk space went and take it back. omg scans file metadata into a private local index, explains which developer caches, build folders, old toolchains and leftovers take space, and deletes what you choose after you confirm.
Development preview. Delete is permanent and not qualified on any platform. Read Deleting files before you use it. Nothing is uploaded.
What's new since beta 2
- Much wider detection. Build output of more ecosystems (Swift, Flutter, CMake, Zig, Haskell, Elixir, monorepo packages, an absolute
CARGO_TARGET_DIR), about 20 more tool caches, Xcode data, downloaded ML models, old toolchain, JetBrains and editor extension versions, old installers in Downloads, older copies of build folders, logs and temp files on macOS and Windows, and unused Docker data removed through Docker itself. - Old Git clones are judged by Git's own index. A clone is offered only when every tracked file still matches
.git/indexexactly, to the nanosecond, and nothing is local: no unpushed branch, stash, local tag or later change. - AI coding tool sessions. Old transcripts of Claude Code, Pi, Codex, Copilot CLI, Cursor CLI and Gemini CLI, which can be deleted together.
- Explains what it does not know.
omg unexplainedshows big folders no finding covers,omg grewshows what grew since the last scan, andomg catalog draft PATHturns an unknown store into a rule draft. - Interface. Auto, dark and light themes; a Deleted view that keeps 20 days of what omg removed;
Uclears a list; a whole selection is deleted around protected items inside it. - Scripts and schedules.
omg clean --category ...lists a category and deletes exactly that list after--confirm FINGERPRINT;omg schedule enableruns a daily scan-only job on macOS and Windows. - Safer. Locked items and cloud placeholders are refused before the question; names that APFS folds to a protected name are protected; deletes are refused when the home folder is empty, relative or the filesystem root.
Install
npm install --global oh-my-gigabytes
omgNeeds Node 22 or newer. The first run scans your home folder (omg scan --root ~/code scans any other folder). Press 1 to 5 to switch views, ? for all keys, q to quit.
Platforms
| System | Scans | Deletes on |
|---|---|---|
| Linux x86_64, ARM64 (glibc 2.28+, kernel 5.6+) | ext4, XFS, Btrfs, tmpfs | ext4, Btrfs, tmpfs |
| Windows 11 x64 | NTFS, ReFS | NTFS |
| macOS 15+ on Apple silicon | APFS, HFS+, exFAT, FAT | APFS |
These exact signed packages were installed and tested by hand on an Apple silicon Mac (with and without Full Disk Access), a Windows 11 PC and Ubuntu 24.04 under WSL2, including a delete in a throwaway folder and a tampered binary being refused. Every target also runs the full test suite on hosted runners. No platform is certified.
Verify
Every launch checks the native binary against an Ed25519-signed manifest and refuses one that does not match. The release key fingerprint is:
01deacfe588025e045419b57c4f39abd9f151294c8310e0a0dd28a18c9d9adc0
It must match KEY-FINGERPRINT.txt below. To install a downloaded file offline:
shasum -a 256 -c SHA256SUMS --ignore-missing # Linux: sha256sum -c SHA256SUMS --ignore-missing
npm install --global --ignore-scripts --offline ./oh-my-gigabytes-offline-<target>-0.1.0.tgzFiles
| File | What it is |
|---|---|
oh-my-gigabytes-offline-<target>-0.1.0.tgz |
Everything for one system in a single file, for offline installs. Targets: darwin-arm64, linux-x64-gnu, linux-arm64-gnu, win32-x64 |
oh-my-gigabytes-0.1.0.tgz and oh-my-gigabytes-<target>-0.1.0.tgz |
The packages published to npm |
SHA256SUMS |
Checksums of every package |
release-public.pem, KEY-FINGERPRINT.txt |
The public release key and its fingerprint |
dependency-inventory.cdx.json |
Software bill of materials (CycloneDX) |
Not in this release
Moving to the system trash (delete is permanent, with no undo), a background service on macOS or Windows (a daily scan-only job is available), Apple notarization, Windows Authenticode signing, Intel Macs, Windows on Arm and musl Linux.
Known issues
omg treeon an excluded folder itself (such as~/.sshorOneDrive) prints 0 bytes instead of unknown. The listing of its parent folder shows it correctly as not scanned.- On Linux, the message for a link given as the scan root lists several causes instead of saying it is a link.
- A scan's progress estimate counts the whole volume, not only the folder being scanned.
- Freed space can be less than shown when hard links, APFS clones or snapshots share data. "Unused for 5 months" goes by when files last changed, not when an app was last opened.
Report a problem
Bugs: Issues. Security problems: privately, as described in SECURITY.md.
MIT OR Apache-2.0.
OMG 0.1.0-beta.2
OMG (Oh My Gigabytes) beta 2: see where your disk space went and take it back. omg scans file metadata into a private local index, explains which developer caches, build folders, old toolchains and leftovers take space, and deletes what you choose after you confirm.
Development preview. Delete is permanent and not qualified on any platform. Read Deleting files before you use it. Nothing is uploaded.
What's new in beta 2
- A step-by-step README on npm (install, open, look around, clean up), with links to this repository.
- Tool folders taken from environment variables (such as
RUSTUP_HOMEorXDG_CONFIG_HOME) can no longer cover your home folder or a personal folder. - Application data is deleted only on its own, never with
D; tool caches are never mistaken for application data.
Install
npm install --global oh-my-gigabytes@beta
omgNeeds Node 22 or newer. The first run scans your home folder. Press 1 to 4 to switch views, ? for all keys, q to quit.
Highlights
- Finds what takes space, and says why. Package caches (npm, pnpm, Yarn, pip, uv, Cargo, Go, Gradle, Homebrew), build output and dependencies (
target,node_modules, virtualenvs), app caches, old versions of an AI coding tool and its old sessions, Git clones untouched for 30 days with nothing local to lose, app data and toolchains unused for 5 months, and large files. - Suggests, never decides. A scan fills OMG Trash with suggestions. You review them, remove what you want to keep, and confirm an exact list. Cancel is the default.
- Refuses what matters. Nothing outside your home folder; never credentials, keys, databases, disk images,
.git,.ssh, cloud-synced folders, active Git repositories or container/VM disks. On macOS, also iCloud placeholders, locked files and app bundles. Whole projects, session history and app data are deleted only one at a time. - Re-checks before removing. Each item must still be the same file (identity and creation time) or it is skipped. Links are never followed.
- Small and tidy. A compact index that cleans up after itself;
omg statusshows how much space omg itself uses.
Platforms
| System | Scans | Deletes on |
|---|---|---|
| Linux x86_64, ARM64 (glibc 2.28+, kernel 5.6+) | ext4, XFS, Btrfs, tmpfs | ext4, Btrfs, tmpfs |
| Windows 11 x64 | NTFS, ReFS | NTFS |
| macOS 15+ on Apple silicon | APFS, HFS+, exFAT, FAT | APFS |
Tested on hosted runners for every target, and by hand on a Mac, a Windows 11 PC and Linux. No platform is certified.
Verify
Every launch checks the native binary against an Ed25519-signed manifest and refuses one that does not match. The release key fingerprint is:
01deacfe588025e045419b57c4f39abd9f151294c8310e0a0dd28a18c9d9adc0
It must match KEY-FINGERPRINT.txt below. To install a downloaded file offline:
shasum -a 256 -c SHA256SUMS --ignore-missing # Linux: sha256sum -c SHA256SUMS --ignore-missing
npm install --global --ignore-scripts --offline ./oh-my-gigabytes-offline-<target>-0.1.0-beta.2.tgzFiles
| File | What it is |
|---|---|
oh-my-gigabytes-offline-<target>-0.1.0-beta.2.tgz |
Everything for one system in a single file, for offline installs. Targets: darwin-arm64, linux-x64-gnu, linux-arm64-gnu, win32-x64 |
oh-my-gigabytes-0.1.0-beta.2.tgz and oh-my-gigabytes-<target>-0.1.0-beta.2.tgz |
The packages published to npm |
SHA256SUMS |
Checksums of every package |
release-public.pem, KEY-FINGERPRINT.txt |
The public release key and its fingerprint |
dependency-inventory.cdx.json |
Software bill of materials (CycloneDX) |
Known limits
- Delete is permanent: there is no system trash or undo.
- "Unused for 5 months" goes by when files last changed, not when an app was last opened.
- Freed space can be less than shown when hard links, APFS clones or snapshots share data.
- Not yet: Apple notarization, Windows Authenticode signing, Intel Macs, Windows on Arm, musl Linux, and a background service outside Linux.
Report a problem
Bugs: Issues. Security problems: privately, as described in SECURITY.md.
MIT OR Apache-2.0.
OMG 0.1.0-beta.1: first public beta
The first public beta of OMG (Oh My Gigabytes): see where your disk space went and take it back. omg scans file metadata into a private local index, explains which developer caches, build folders, old toolchains and leftovers take space, and deletes what you choose after you confirm.
Development preview. Delete is permanent and not qualified on any platform. Read Deleting files before you use it. Nothing is uploaded.
Install
npm install --global oh-my-gigabytes@beta
omgNeeds Node 22 or newer. The first run scans your home folder. Press 1 to 4 to switch views, ? for all keys, q to quit.
Highlights
- Finds what takes space, and says why. Package caches (npm, pnpm, Yarn, pip, uv, Cargo, Go, Gradle, Homebrew), build output and dependencies (
target,node_modules, virtualenvs), app caches, old versions of an AI coding tool and its old sessions, Git clones untouched for 30 days with nothing local to lose, app data and toolchains unused for 5 months, and large files. - Suggests, never decides. A scan fills OMG Trash with suggestions. You review them, remove what you want to keep, and confirm an exact list. Cancel is the default.
- Refuses what matters. Nothing outside your home folder; never credentials, keys, databases, disk images,
.git,.ssh, cloud-synced folders, active Git repositories or container/VM disks. On macOS, also iCloud placeholders, locked files and app bundles. Whole projects, session history and app data are deleted only one at a time. - Re-checks before removing. Each item must still be the same file (identity and creation time) or it is skipped. Links are never followed.
- Small and tidy. A compact index that cleans up after itself;
omg statusshows how much space omg itself uses.
Platforms
| System | Scans | Deletes on |
|---|---|---|
| Linux x86_64, ARM64 (glibc 2.28+, kernel 5.6+) | ext4, XFS, Btrfs, tmpfs | ext4, Btrfs, tmpfs |
| Windows 11 x64 | NTFS, ReFS | NTFS |
| macOS 15+ on Apple silicon | APFS, HFS+, exFAT, FAT | APFS |
Tested on hosted runners for every target, and by hand on a Mac, a Windows 11 PC and Linux. No platform is certified.
Verify
Every launch checks the native binary against an Ed25519-signed manifest and refuses one that does not match. The release key fingerprint is:
01deacfe588025e045419b57c4f39abd9f151294c8310e0a0dd28a18c9d9adc0
It must match KEY-FINGERPRINT.txt below. To install a downloaded file offline:
shasum -a 256 -c SHA256SUMS --ignore-missing # Linux: sha256sum -c SHA256SUMS --ignore-missing
npm install --global --ignore-scripts --offline ./oh-my-gigabytes-offline-<target>-0.1.0-beta.1.tgzFiles
| File | What it is |
|---|---|
oh-my-gigabytes-offline-<target>-0.1.0-beta.1.tgz |
Everything for one system in a single file, for offline installs. Targets: darwin-arm64, linux-x64-gnu, linux-arm64-gnu, win32-x64 |
oh-my-gigabytes-0.1.0-beta.1.tgz and oh-my-gigabytes-<target>-0.1.0-beta.1.tgz |
The packages published to npm |
SHA256SUMS |
Checksums of every package |
release-public.pem, KEY-FINGERPRINT.txt |
The public release key and its fingerprint |
dependency-inventory.cdx.json |
Software bill of materials (CycloneDX) |
Known limits
- Delete is permanent: there is no system trash or undo.
- "Unused for 5 months" goes by when files last changed, not when an app was last opened.
- Freed space can be less than shown when hard links, APFS clones or snapshots share data.
- Not yet: Apple notarization, Windows Authenticode signing, Intel Macs, Windows on Arm, musl Linux, and a background service outside Linux.
Report a problem
Bugs: Issues. Security problems: privately, as described in SECURITY.md.
MIT OR Apache-2.0.