# eToro CLI

## eToro CLI

Trade, invest, and copy from your terminal. Beautiful colored tables by default, `--output json` everywhere for scripts and AI agents.

### Getting started

1.

Install the CLI globally via npm:

```bash
npm install -g etoro-cli
```

2.

Run setup:

```bash
etoro setup
```

3.

Run commands. Every command supports `--output json` for scripts and AI agents. Examples:

```bash
etoro search apple
etoro quote AAPL TSLA
etoro portfolio summary
etoro trade open AAPL --amount 500
etoro shell  # interactive REPL
```


### Resources

- [Authentication & API Keys](/learn/authentication-and-api-keys) — How to generate, store, and rotate the keys used by CLI sessions.
- [Getting Started with the eToro API](/learn/getting-started-with-etoro-api-v2) — Map CLI commands to their underlying REST endpoints.

### Related tools

- playground
- mcp
- skills