Install on macOS
You can use Homebrew, the macOS package manager, to install Asciidoctor. If you don’t have Homebrew on your computer, complete the installation instructions at brew.sh first.
Once Homebrew is installed, you’re ready to install the
Open a terminal and type:
$ brew install asciidoctor
Homebrew installs the
asciidoctor gem into an exclusive prefix that’s independent of system gems.
If the gem installed successfully, Asciidoctor’s command line interface (CLI) will be available on your PATH. To confirm that Asciidoctor is available, execute:
$ asciidoctor --version
You should see information about the Asciidoctor version and your Ruby environment printed in the terminal.
Asciidoctor 2.0.15 [https://asciidoctor.org] Runtime Environment (ruby 3.0.2p107 [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:- ex:UTF-8)