# REPL

> Julia comes with a full-featured interactive command-line REPL (read-eval-print loop) built into the `julia` executable. In addition to allowing quick and easy evaluation of Julia statements, it has a searchable history, tab-completion, many helpful keybindings, and dedicated help `?` and shell modes `;`. [\[1\]](#references)&#x20;

This page provides examples of using REPL on the command line.

## Julia REPL Example (local) <a href="#julia_repl_example_local" id="julia_repl_example_local"></a>

* Type `julia` in terminal to launch REPL

<figure><img src="https://content.gitbook.com/content/v4bMBkQ3ZBxkXjskIqBa/blobs/805OZNIgOlnL8JKFfX2V/repl_ex.png" alt=""><figcaption></figcaption></figure>

## Julia REPL Help Pages (local) <a href="#julia_repl_help_pages_local" id="julia_repl_help_pages_local"></a>

* Type "?" to enter help pages within REPL
* Type a function from Julia to read help pages (ex: `println`)

<figure><img src="https://content.gitbook.com/content/v4bMBkQ3ZBxkXjskIqBa/blobs/tjg45gmH8MZk2shcHkoN/repl_help.png" alt=""><figcaption></figcaption></figure>

## References

1. Julia Contributors. (n.d.). REPL - Standard Library - Julia Language. Retrieved May 1, 2024, from <https://docs.julialang.org/en/v1/stdlib/REPL/>

## Resources <a href="#documentation" id="documentation"></a>

* Julia Documentation: [The Julia REPL](https://docs.julialang.org/en/v1/stdlib/REPL/)
* [Julia Cheat Sheet](https://juliadocs.github.io/Julia-Cheat-Sheet/) (see REPL)
* [Practice with this web-based Julia REPL](https://julialang.org/learning/tryjulia/)
