# Trade with the CLI and AI assistants

The [Revolut X CLI](https://github.com/revolut-engineering/revolut-x-api) wraps the REST API, so that you can trade from your terminal or connect the API to a compatible AI assistant.

To install it, run:

```sh
npm install -g @revolut/revolut-x-cli
```

Learn more about [connecting Revolut X with your AI assistant](https://www.revolut.com/blog/post/revolut-x-connects-with-your-ai-assistant-uk).