CLI reference

Full command reference for the SadClaw CLI.

Install

Run without installing:

npx sadclaw

Install globally:

npm install -g sadclaw
sadclaw --help
circle-info

If you hit weird caching issues, force latest:

npx sadclaw@latest

Commands

Setup & configuration

sadclaw init

Initialize SadClaw configuration and wallet.

npx sadclaw init

Options:

Option
Description

--new

Create a new wallet

--import

Import existing wallet

--network <network>

Network: mainnet or devnet (default: mainnet)

Example:

sadclaw config

View or update configuration.

Options:

Option
Description

--set <key> <value>

Set a config value

--get <key>

Get a config value

--list

List all config

Example:

Wallet

sadclaw balance

Check wallet balance.

Output:

sadclaw address

Display wallet address.

VM Management

sadclaw buy

Purchase a new VM.

Options:

Option
Description
Default

-t, --tier <tier>

VM tier: MICRO, SMALL, STANDARD, LARGE, XLARGE

Required

-d, --duration <hours>

Duration in hours (1-720)

24

-r, --region <region>

Region: fsn1, nbg1, hel1

fsn1

--dry-run

Show cost without purchasing

false

Examples:

Output:

sadclaw list

List your VMs.

Options:

Option
Description

--all

Include expired VMs

--json

Output as JSON

Output:

sadclaw ssh

SSH into a VM.

Arguments:

Argument
Description

<nft-mint>

The NFT mint address of the VM

Example:

This opens an interactive SSH session to the VM.

sadclaw extend

Extend a VM's duration.

Arguments:

Argument
Description

<nft-mint>

The NFT mint address of the VM

Options:

Option
Description
Default

-d, --duration <hours>

Additional hours

24

Example:

sadclaw destroy

Destroy a VM (burns the NFT).

Arguments:

Argument
Description

<nft-mint>

The NFT mint address of the VM

Options:

Option
Description

--force

Skip confirmation prompt

Example:

triangle-exclamation

sadclaw transfer

Transfer a VM to another wallet.

Arguments:

Argument
Description

<nft-mint>

The NFT mint address of the VM

<recipient>

Recipient wallet address

Example:

Information

sadclaw tiers

List available VM tiers.

Output:

sadclaw status

Check SadClaw service status.

Environment Variables

Variable
Description

SADCLAW_WALLET

Path to wallet keypair file

SADCLAW_RPC_URL

Solana RPC URL

SADCLAW_NETWORK

Network: mainnet or devnet

Configuration File

Config is stored at ~/.sadclaw/config.json:

Last updated