# @lens-protocol/cli

> Lens CLI

Latest version **0.1.1** (published 2024-11-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install @lens-protocol/cli
pnpm add @lens-protocol/cli
yarn add @lens-protocol/cli
bun add @lens-protocol/cli
```

Provides the command `lens`.

## Health

**Score 45/100 (D)** — status: stable.

Positive: esm support; no vulnerabilities; high maintenance score.

Warnings: low downloads; no types; pre 1.0.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2024-11-27 |
| First published | 2024-04-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=18 <=22 |
| Dependencies | 8 |
| Unpacked size | 25.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 258 |
| Maintainers | cnaldi, zioid, npm_avaralabs, donosonaumczuk, joshstevens19 |

## Links

- npm: https://www.npmjs.com/package/@lens-protocol/cli
- Repository: https://github.com/lens-protocol/lens-sdk
- Homepage: https://github.com/lens-protocol/lens-sdk#readme
- Issues: https://github.com/lens-protocol/lens-sdk/issues
- npm.io page: https://npm.io/package/@lens-protocol/cli

## Dependencies (8)

- [chalk](https://npm.io/package/chalk.md) ^5.3.0
- [tslib](https://npm.io/package/tslib.md) ^2.6.2
- [commander](https://npm.io/package/commander.md) ^12.0.0
- [nanospinner](https://npm.io/package/nanospinner.md) ^1.1.0
- [@lens-protocol/client](https://npm.io/package/@lens-protocol/client.md) *
- [@ethersproject/address](https://npm.io/package/@ethersproject/address.md) ^5.7.0
- [@commander-js/extra-typings](https://npm.io/package/@commander-js/extra-typings.md) ^12.0.1
- [@lens-protocol/shared-kernel](https://npm.io/package/@lens-protocol/shared-kernel.md) *

## Recent versions

- 0.1.1 (latest) — 2024-11-27
- 0.0.0-canary-20240430125244 (canary) — 2024-04-30
- 0.1.0 — 2024-05-03

## README

# Lens CLI

CLI tool for Lens developers.

**Please note, this is an experimental tool and it may undergo significant changes in the future.**

## Usage

Install the Lens CLI from npm.

```bash
npm install -g @lens-protocol/cli
```

See the available commands. The first level command decides the environment: `development` or `production`.
You can use shorthand `dev` and `prod` instead.

```bash
lens development --help
```

or

```bash
lens production --help
```

## Local Setup

First install dependencies. Run all commands from the monorepo root directory.

```bash
pnpm install
```

Start the development mode. It will watch for changes and rebuild the CLI.

```bash
pnpm --dir packages/cli dev
```

Then link the package globally.

```bash
pnpm --dir packages/cli link --global
```

Now you can run the CLI from anywhere.

```bash
lens --help
```

Delete the global link when you're done.

```bash
pnpm remove --global @lens-protocol/cli
```

---
_Source: https://npm.io/package/@lens-protocol/cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
