aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/guide/installation.asciidoc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-10-12 00:33:30 +0200
committerLoïc Hoguin <[email protected]>2015-10-12 00:33:30 +0200
commit072b2636a6a32f8da0ff195fdbf92f4fc472121a (patch)
tree6b30b98631bdc12c3d9d62f3ca02ec2555170118 /doc/src/guide/installation.asciidoc
parent7e95c74fee08fb4b94c25e2f3b03bcbdd1e029be (diff)
downloaderlang.mk-072b2636a6a32f8da0ff195fdbf92f4fc472121a.tar.gz
erlang.mk-072b2636a6a32f8da0ff195fdbf92f4fc472121a.tar.bz2
erlang.mk-072b2636a6a32f8da0ff195fdbf92f4fc472121a.zip
Fix user guide PDF generating
Diffstat (limited to 'doc/src/guide/installation.asciidoc')
-rw-r--r--doc/src/guide/installation.asciidoc12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/src/guide/installation.asciidoc b/doc/src/guide/installation.asciidoc
index 94232b8..f03dafa 100644
--- a/doc/src/guide/installation.asciidoc
+++ b/doc/src/guide/installation.asciidoc
@@ -43,8 +43,9 @@ if you need additional references.
You can install Erlang/OTP silently using the `/S` switch
on the command line:
-[source,batch]
+----
C:\Users\essen\Downloads> otp_win64_18.0.exe /S
+----
==== Installing MSYS2
@@ -66,16 +67,18 @@ and extract it under 'C:\'. Assuming you downloaded the
archive as 'msys2.tar.xz' and put it in 'C:\', you can
use the following commands to extract it:
-[source,batch]
+----
C:\> 7z x msys2.tar.xz
C:\> 7z x msys2.tar > NUL
+----
Then you can run the two commands needed to perform the
post-installation setup:
-[source,batch]
+----
C:\> C:\msys64\usr\bin\bash -lc "pacman --needed --noconfirm -Sy bash pacman pacman-mirrors msys2-runtime"
C:\> C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Syu"
+----
==== Installing the required MSYS2 packages
@@ -96,8 +99,9 @@ You can also run commands under the MSYS2 environment from
the Windows command line or batch files. This command will
install GNU Make and Git:
-[source,batch]
+----
C:\> C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S git make"
+----
You can use similar `bash` commands if you need to run programs
inside the MSYS2 environment from a batch file.