1. Msys264

  • 安装Msys64:D:/Install/Antora/Msys64

  • 配置PATH:D:/Install/Green/Mingw64/bin

2. Ruby

  • 安装RubyInstaller

# 配置环境变量
PATH:D:/Install/Antora/Ruby/bin
RUBYOPT="-E utf-8:utf-8"

ruby -v
ruby 3.2.3 (2024-01-18) [x64-mingw-ucrt]

3. GraphvizV24

  • PATH:D:/Install/Antora/Graphviz/bin

  • Eclipse:D:/Install/Antora/Graphviz/bin/dot.exe

4. Antora

# Node必需,其它可选
npm get prefix && node -v && npm -v && ruby -v && asciidoctor -v
  • 有两种方式安装:Locally和Globally,推荐Locally,
    此处采用Globally方式,而非每个项目维护node_modules;

npm i -g @antora/cli@3.1 @antora/site-generator@3.1

antora -v