🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@usecannon/cli

Package Overview
Dependencies
Maintainers
3
Versions
307
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@usecannon/cli

Utility for instantly loading cannon packages in standalone contexts

2.23.0
latest
Source
npm
Version published
Weekly downloads
7.6K
8.21%
Maintainers
3
Weekly downloads
 
Created
Source

Cannon Command Line Interface

Install the CLI

Use npm to install the CLI:

npm i -g @usecannon/cli

Run a Package

Run a package from the registry:

cannon greeter

Run E2E Tests

We use bats as our main testing infrastructure for end-to-end tests. To run the e2e suite, just run the following command in your terminal:

pnpm run test-e2e

Note: if you're using MacOS, you will need to install parallel before running the E2E tests: https://www.gnu.org/software/parallel/

Setup to Build

To deploy protocols and create your own packages (i.e. build Cannonfiles), first run the setup command:

cannon setup

See the website for the Getting Started guide, documentation, and more.

Keywords

cannon

FAQs

Package last updated on 21 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts