Skip to content

Commit f02ca9c

Browse files
committed
Add node & asciidoc install guides
1 parent 2d85c84 commit f02ca9c

1 file changed

Lines changed: 43 additions & 2 deletions

File tree

‎modules/ROOT/pages/install.adoc‎

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ WARNING: Remember to run `apt update` before installing any packages with `apt`.
1212
* <<git, Git>>
1313
* <<docker, Docker>>
1414
* <<shellcheck, Shellcheck>>
15+
* <<npm, Node & Asciidoctor>>
1516
* <<fenrir, Fenrir>>
1617
1718
[#bash]
@@ -292,6 +293,47 @@ license: GNU General Public License, version 3
292293
website: https://www.shellcheck.net
293294
----
294295

296+
[#npm]
297+
== Node & Asciidoctor
298+
299+
.Mac OS
300+
[%collapsible]
301+
====
302+
[,console]
303+
----
304+
$ brew install node asciidoctor
305+
----
306+
====
307+
308+
.Debian-like Linux
309+
[%collapsible]
310+
====
311+
[,console]
312+
----
313+
$ apt install npm asciidoctor
314+
----
315+
====
316+
317+
.RHEL-like Linux
318+
[%collapsible]
319+
====
320+
[,console]
321+
----
322+
$ dnf install nodejs asciidoctor
323+
----
324+
====
325+
326+
Verify the installation:
327+
[,console]
328+
----
329+
$ npm --version
330+
10.9.4
331+
$ asciidoctor --version
332+
Asciidoctor 2.0.26 [https://asciidoctor.org]
333+
Runtime Environment (ruby 3.4.8 (2025-12-17 revision 995b59f666) +PRISM [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:UTF-8 ex:UTF-8)
334+
----
335+
336+
295337
[#fenrir]
296338
== Fenrir
297339
@@ -302,12 +344,11 @@ RHEL-like Linux::
302344
Download `fenrir-<VERSION>.noarch.rpm` from https://github.com/1BAH/fenrir/releases/latest. Then run `dnf install fenrir-<VERSION>.noarch.deb` (or `yum`).
303345
304346
Other::
305-
Install `asciidoc` to compile man pages or use `-nadoc` option:
306347
[,console]
307348
----
308349
$ git clone https://github.com/1BAH/fenrir.git /tmp/frir
309350
$ cd /tmp/frir/src/main/fenrir/cli
310-
$ sudo ./install-fenrir -nadoc
351+
$ sudo ./install-fenrir
311352
----
312353
313354
Verify the installation:

0 commit comments

Comments
 (0)