/Netrun CLI/Installation

Netrun CLI

The Netrun CLI is a command-line interface for interacting with the Netrun metaprotocol. It provides tools for managing assets, modules, and development workflows.

Installation

Install globally using npm:

npm install -g @netrun/cli

Or using cargo (Rust):

cargo install netrun-cli

Configuration

Initialize your configuration:

netrun init

This creates a netrun.config.json file in your current directory with default settings.

Common Commands

netrun create asset

Create a new programmable asset

netrun deploy module

Deploy a module to the network

netrun validate

Run validation on assets or modules

netrun status

Check the status of your deployments

netrun wallet

Manage wallet connections and keys

Environment Variables

NETRUN_RPC_URL=https://api.mainnet-beta.solana.com
NETRUN_WALLET_PATH=~/.config/solana/id.json
NETRUN_NETWORK=mainnet-beta

For detailed command reference, see the Commands Reference page.