Asciidoctor requires one of the following Ruby implementations:
- CRuby (MRI) 2.7 – 3.4
- JRuby 9.4.0 – 10.0.2
- TruffleRuby (GraalVM)
Choose your installation method
- gem install
- Bundler
- macOS
- Linux
- Windows
- Docker
The Running
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.Upgrading
gem install again installs the new version alongside the old one. Run gem cleanup asciidoctor afterwards to remove older versions.