sindresorhus / is-rootView on GitHub
Check if the process is running as root user, for example, one started with `sudo`
☆78Sep 18, 2026Updated this week

Alternatives and similar repositories for is-root

Users that are interested in is-root are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.

Sorting:

Are these results useful?