{"repo":"leaperone/smctl","free":true,"listed":false,"github":"https://github.com/leaperone/smctl","clone":"git clone https://github.com/leaperone/smctl.git","description":"The missing control knob for your Mac's SMC — fan curves, battery charge limits, power policy. Open-source, CLI-first.","language":"Swift","stars":150,"topics":["apple-silicon","battery","cli","fan-control","macos","smc","swift"],"license":"MIT","category":"cli-tools","readme_excerpt":"smctl -lightgrey.svg) The missing control knob for your Mac's SMC. smctl is an open-source, CLI-first tool for controlling the hardware your Mac normally manages for you — fan speed, battery charging, and power telemetry — straight from the terminal. smctl 是一个开源、命令行优先的 Mac 硬件控制工具：风扇曲线、电池充电限制、温度/功耗遥测——这些 macOS 不开放的控制能力，一条命令搞定。 English 中文文档 Why - Your battery ages fastest at 100%. macOS only offers an opaque, ML-driven \"Optimized Charging\" and a single fixed 80% option. smctl gives you an explicit, deterministic charge limit with a sailing range — set it once, sync it in your dotfiles. - Apple Silicon Macs expose no fan control at all. No official API, no third-party CLI — smctl implements manual fan targets and declarative fan curves on Apple Silicon, with a built-in thermal safety guard. - Headless Macs deserve first-class tooling. Running a Mac mini as a home server? Every feature works over SSH, every command has --json output for scripting. Features Command What it does --- --- smctl sensors [--watch] [--json] Temperatures by sensor group, fan RPM/mode, battery, package power smctl battery status Charge level, charging state, configured limit, time estimate smctl battery maintain 80 / 70-80 / stop Charge limit with dead-band; add --force-discharge to drain down to the band smctl battery charging on\\ off / adapter on\\ off Manual charging and adapter-power toggles smctl battery charge 90 / discharge 40 One-shot top-up or supervised discharge smctl fan status Per-fan actual/t","default_branch":null,"files":null,"tree":[],"storefront":"/r/leaperone","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/leaperone/smctl/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}