> For the complete documentation index, see [llms.txt](https://docs.macrocosmos.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.macrocosmos.ai/~/revisions/sm0UfbwJePs5Nk1ErAj9/subnets/new-subnet-1-apex/subnet-1-base-miner-setup/apex-cli.md).

# Apex CLI

The Apex CLI is a miner's interface with the subnet: linking wallets, submitting competition solutions, and viewing the dashboard. The dashboard contains all miner submissions to past and current competitions - use it to view others' code submissions and logs to compare your individual performance against the subnet.&#x20;

To use the CLI you must have a [registered wallet on subnet 1.](https://docs.learnbittensor.org/miners#miner-registration)&#x20;

### Link Wallet

Link your registered wallet with the cli - required for most cli commands:

`apex link`&#x20;

This will prompt you to

### View Competitions

To view the currently active compeititon:

`apex competitions`

To view competitions and their status in detail:

`apex dashboard`

Example Output:

<figure><img src="/files/3z2MQ4AOrdoQQRgJtV3e" alt=""><figcaption></figcaption></figure>

### View Submissions

To view a submission, first open the dashboard `apex dashboard` and hit `enter/return` when hovering the competition of interest.

<figure><img src="/files/seWOsx7v3bQmx5iIs1Lc" alt=""><figcaption></figcaption></figure>

Your own submissions will be viewable immediately, other's submissions will be viewable after a delay.&#x20;

### Submit a Solution

```
apex submit <Path_To_Solution> -c <Competition_ID> -r <Round_ID>
```

View the \<Competition\_ID> and \<Round\_ID> via the dashboard
