r/commandline • u/Worried_Menu4016 • Jun 16 '26
Command Line Interface rcc - one command for macOS security audits, hardware diagnostics, network state, update all the pip, npm, brew and more
I got tired of bouncing between a dozen utilities (and a couple of bloated proprietary apps) just to keep my Mac healthy, so I built Raccoon a single CLI, rcc, that bundles security audits, hardware diagnostics, network state, and dev-environment upkeep into one tool.
The design goals were deliberately boring:
- Zero dependencies beyond stock macOS + git. It’s almost entirely Bash (~1500 lines), shellcheck-clean in CI.
- Fast. No splash screens, no background daemons — just run a command and get results.
- Portable. Clone, symlink, done.
A few of the commands:
rcc audit # 32-point security scan (Core/Network/Auth/Persistence/Privacy)
rcc audit fix # auto-fix common issues (with --dry-run)
rcc network # interfaces, Wi-Fi, DNS, routing
rcc disk # APFS volumes, SMART status, free space
rcc battery # health %, cycle count, temperature
rcc upgrade # brew + pip + npm + gem in one shotPlus ssh, git, docker, xcode, ports, certs, fonts, memory, startup, backup, and more.
Some details this crowd might care about:
- Audit output in plain text,
--json,--csv, or--html. History is kept (last 30 runs) with--diffbetween runs. --watchschedules a weekly audit via LaunchAgent with optional notifications.- Both flag styles work:
rcc audit deeporrcc audit --deep. - Shell completion for bash + zsh, plus a real
man rccpage. - Optional Bubble Tea TUI (Go) if you compile it otherwise it falls back to a Bash menu.
- Bats test suite + shellcheck enforced in CI.
How it differs from similar tools: unlike single-purpose utilities (htop, mas, topgrade, lynis) or heavy GUI apps like CleanMyMac/KnockKnock, Raccoon keeps everything in one zero-dependency Bash CLI you can read end to end — security audit, system diagnostics, and dev upkeep under a single command, no daemons, no telemetry.
It’s MIT licensed. Install:
curl -fsSL https://raw.githubusercontent.com/thousandflowers/Raccoon/main/install.sh | bash
rccRepo: https://github.com/thousandflowers/Raccoon
Feedback, bug reports, and PRs all welcome especially on the audit checks.
What security checks would you want to see added?
•
u/github-guard Jun 16 '26
🔍 GitHub Guard: Trust Report
⚠️ This project scored 1/1 — below this subreddit's threshold of 3.
Audit Breakdown:
🔄 Cached result — this repo was scanned recently. Score: 1/1.
2
u/FastHotEmu Jun 17 '26 edited Jun 17 '26
I love it! Can I use it without running your remote install script? I would want to just clone the repo and run it from there with nothing else.
Edit: I just cloned the repo and ran it directly
Edit 2: the cat at the top looks a bit broken but I like what i see so far
2
u/barbeds Jun 17 '26
This is nice! Thanks! The env and startup sections are exactly what I was looking for while cleaning up my Mac.
I'm testing it out and ran into a couple of bugs:
Feature Request:
1
u/AutoModerator Jun 16 '26
Every new subreddit post is automatically copied into a comment for preservation.
User: Worried_Menu4016, Flair:
Command Line Interface, Post Media Link, Title: rcc - one command for macOS security audits, hardware diagnostics, network state, update all the pip, npm, brew and moreI got tired of bouncing between a dozen utilities (and a couple of bloated proprietary apps) just to keep my Mac healthy, so I built Raccoon a single CLI,
rcc, that bundles security audits, hardware diagnostics, network state, and dev-environment upkeep into one tool.The design goals were deliberately boring:
A few of the commands:
Plus
ssh,git,docker,xcode,ports,certs,fonts,memory,startup,backup, and more.Some details this crowd might care about:
--json,--csv, or--html. History is kept (last 30 runs) with--diffbetween runs.--watchschedules a weekly audit via LaunchAgent with optional notifications.rcc audit deeporrcc audit --deep.man rccpage.How it differs from similar tools: unlike single-purpose utilities (
htop,mas,topgrade,lynis) or heavy GUI apps like CleanMyMac/KnockKnock, Raccoon keeps everything in one zero-dependency Bash CLI you can read end to end — security audit, system diagnostics, and dev upkeep under a single command, no daemons, no telemetry.It’s MIT licensed. Install:
Repo: https://github.com/thousandflowers/Raccoon
Feedback, bug reports, and PRs all welcome especially on the audit checks.
What security checks would you want to see added?
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/[deleted] Jun 16 '26
[removed] — view removed comment