--- title: Command-line Interface description: Learn how to install and run the Edge Runtime as a CLI. --- # Using the CLI ## Installation The **Edge Runtime** can be also consumed from your terminal when you install it globally in your system: ```sh npm2yarn npm -g install edge-runtime ``` ## Usage The CLI provides you different ways to evaluate an script with [Edge Runtime APIs](/features/available-apis) constraints. You can just start an interactive session with `--repl`: ```bash edge-runtime --repl ``` Evaluate an inline script with `--eval`: ```bash edge-runtime --eval "Object.getOwnPropertyNames(this)" ``` Run a local HTTP server: ```bash edge-runtime --listen examples/fetch.js ``` and more. In any case, you can see all this information typing `edge-runtime --help`.