Unlike Debian and OpenBSD, there’s no ready-built package for AsciiDoctor on FreeBSD. One must install ruby, the Gem package manager and the AsciiDoctor gem.

Installation Commands

  • doas pkg install ruby

    This command also installs libedit, libunwind and libyaml.

  • doas pkg install devel/ruby-gems

  • doas gem install asciidoctor

Asciidoctor operates exactly as on Debian and OpenBSD.