# Publishing

Publish after you own the `elios-cli` crate on crates.io.

## GitHub Setup

Install the Blacksmith GitHub App for this repo.

Add this secret:

```text
CARGO_REGISTRY_TOKEN
```

The `publish` workflow fails at the secret check until this exists.

## First Release

```bash
cargo login
cargo test
cargo package
cargo publish
```

You can also run the `publish` workflow after the secret exists.

## Install Check

```bash
cargo install elios-cli
elios --version
```

The package name is `elios-cli`. The installed command is `elios`.
