stack upgrade command¶
stack upgrade [--binary-only] [--binary-platform ARG] [--force-download] [--binary-version ARG] [--github-org ARG] [--github-repo ARG]
stack upgrade will get a new version of Stack, either from an existing
binary distribution (pass the
--binary-only flag, the default) or from
compiling source code (pass the
--source-only flag). The
--source-only flags are alternatives.
When compiling from source code, by default:
- Stack will obtain the source code for the most recent version in the package
index (eg Hackage). Pass the flag
--gitto specify the most recent version from the
masterbranch of Stack's repository.