Skip to content

Commit

Permalink
docs: update docs/cli.md installation section
Browse files Browse the repository at this point in the history
  • Loading branch information
mistakia committed Jun 18, 2024
1 parent 117b880 commit b8e077d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,18 @@ tags: nano, xno, cli, nano-community, alias, representative, metadata, signing k

## Installation

The Nano.Community CLI is available as a global npm package. You'll need to have [Node.js installed](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) to use it.

```bash
npm install -g nano-community
```

It is also available as a yarn global package.

```bash
yarn global add nano-community
```

### Setting Environment Variables

The best way to pass the private key to the CLI is to set the `NC_CLI_NANO_PRIVATE_KEY` environment variable.
Expand Down

0 comments on commit b8e077d

Please sign in to comment.