stack-3.1.1: doc/commands/repl_command.md
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://cdn.jsdelivr.net/gh/commercialhaskell/stack/doc/img/hidden-warning.svg"></a></div>
# The `stack repl` command
~~~text
stack repl [TARGET/FILE] [--pedantic] [--ghci-options OPTIONS]
[--ghc-options OPTIONS] [--flag PACKAGE:[-]FLAG] [--with-ghc GHC]
[--[no-]load] [--package PACKAGE] [--main-is TARGET]
[--load-local-deps] [--[no-]package-hiding] [--only-main] [--trace]
[--profile] [--no-strip] [--[no-]test] [--[no-]bench]
~~~
The `stack repl` command is equivalent to the `stack ghci` command. For further
information, see the [`stack ghci`](ghci_command.md) documentation.