Mac administrators can use the root user account to perform tasks that require access to more areas of the system. The user account named ”root” is a superuser with read and write privileges to more areas of the system, including files in other macOS user accounts.

Installation Steps:

  1. Open Terminal using Spotlight search by pressing  <command+space>.
    Type terminal and hit  Enter key.
  2. Now, run
    ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” < /dev/null 2> /dev/null
  3. Install broot using brew
    brew install broot

broot is ready to use now!