# REPL [![badge](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com%2Fdefault%2Fsource_up_to_date%3Fowner%3Derg-lang%26repos%3Derg%26ref%3Dmain%26path%3Ddoc/EN/tools/repl.md%26commit_hash%3D4c490b7f5acd8d2400d61d8a9e4dc0655974babe)](https://gezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com/default/source_up_to_date?owner=erg-lang&repos=erg&ref=main&path=doc/EN/tools/repl.md&commit_hash=4c490b7f5acd8d2400d61d8a9e4dc0655974babe) `erg`コマンドを引数を与えず実行すると、REPLが起動されます。また、`repl`サブコマンドを指定して起動することもできます。 さらに以下のフラグを指定できます。 * show-type: オブジェクトとその型を表示します。 ```console $ erg repl --show-type Erg interpreter ... (tags/?:, ...) on ... >>> 1 1: {1} >>> id x = x id = : |T: Type| T -> T ```