- Instant verdict β tells you in plain English whether your account holds admin privileges on the current Mac.
- Raw mode β pass
--rawto get a baretrueorfalse, ideal for scripting and conditional logic. - Coloured output β green tick for admins, red cross for non-admins, so the result is obvious at a glance.
- Zero config β reads your username from the environment and queries the macOS directory service directly.
- Lightweight β single-file tool with minimal dependencies (
zx,chalk).
npm install -g @kud/am-i-admin-cli$ am-i-admin
β alice, you are an admin on this computer. π
$ am-i-admin --raw
truegit clone https://github.com/kud/am-i-admin-cli.git
cd am-i-admin-cli
npm install
node index.jsπ Full documentation β am-i-admin-cli/docs