Skip to main content
Asciidoctor requires one of the following Ruby implementations:
  • CRuby (MRI) 2.7 – 3.4
  • JRuby 9.4.0 – 10.0.2
  • TruffleRuby (GraalVM)
Asciidoctor runs on Linux, macOS, and Windows.

Choose your installation method

The gem command installs the latest stable release of Asciidoctor directly from RubyGems.org.Before running gem install, set up a Ruby version manager such as RVM or rbenv so gems are installed in user space rather than system-wide.
1

Activate your Ruby version

rvm use 3.4
2

Install the gem

gem install asciidoctor
To install a pre-release version (such as a release candidate):
gem install asciidoctor --pre
3

Verify the installation

asciidoctor --version
Upgrading
gem install asciidoctor
gem cleanup asciidoctor
Running gem install again installs the new version alongside the old one. Run gem cleanup asciidoctor afterwards to remove older versions.

Build docs developers (and LLMs) love