Install and Update
Asciidoctor can be installed using:
package managers for popular Linux distributions,
Homebrew for macOS,
gem installcommand (recommended for Windows users or if you’ll be installing additional gems),
the Asciidoctor Docker image, or
The benefit of using your operating system’s package manager to install the gem is that it handles installing Ruby and the RubyGems library if those packages are not already installed on your machine.
You should use the same method to update Asciidoctor as you use to install it.