# 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.