Skip to content

Commit eac4244

Browse files
committed
Re commercialhaskell#6609 Document get-stack.sh flags and options
1 parent b7794d4 commit eac4244

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: doc/install_and_upgrade.md

+7
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ GitHub repository.
3838
`https://get.haskellstack.org/stable/<PLATFORM>.<EXTENSION>` point to the
3939
latest stable release. See the manual download links for examples.
4040

41+
!!! info "`sh` script flags and options"
42+
43+
The `sh` installation script recognises the following optional flags and
44+
options: `-q` suppresses output and specifies non-intervention (likely a
45+
prerequisite for the use of the script in CI environments); `-f forces installation, even if an existing Stack executable is detected; and
46+
`-d <directory>` specifies a destination directory for the Stack executable.
47+
4148
=== "Linux"
4249

4350
For most Linux distributions, the easiest way to install Stack directly

0 commit comments

Comments
 (0)