# CLI Tools _rhoknp_ provides a command-line interface (CLI). Before using the CLI, you need to install _rhoknp_ with the following command: ```{eval-rst} .. prompt:: :prompts: $ pip install rhoknp[cli] ``` ## cat The `cat` command prints KNP files with syntax highlighting. ```{eval-rst} .. prompt:: :prompts: $ rhoknp cat [--dark] ``` ## serve The `serve` command starts a web server to provide a playground for the given language analyzer. ```{eval-rst} .. prompt:: :prompts: $ rhoknp serve {jumanpp|knp|kwja} [--host HOST] [--port PORT] ``` ## show The `show` command shows the given KNP file in a tree format. ```{eval-rst} .. prompt:: :prompts: $ rhoknp show [--pos] [--rel] ``` ## stats The `stats` command shows the statistics of the given KNP file. ```{eval-rst} .. prompt:: :prompts: $ rhoknp stats [--json] ```