LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

wash

wasmCloud development and management CLI

TLDR

Create new WebAssembly component project
$ wash new component [project-name]
copy
Build a component
$ wash build
copy
Start development server with hot reload
$ wash dev
copy
Start local wasmCloud environment
$ wash up
copy
Stop local wasmCloud environment
$ wash down
copy
Push component to OCI registry
$ wash push [registry.example.com/component:tag] [component.wasm]
copy
Inspect component interfaces
$ wash inspect [component.wasm]
copy

SYNOPSIS

wash [options] command [arguments]

DESCRIPTION

wash (wasmCloud Shell) is the comprehensive CLI for developing WebAssembly components and managing wasmCloud distributed applications. It provides tools for the complete development lifecycle from project scaffolding to deployment.The CLI supports multi-language component development including Rust, Go, and TypeScript. Projects are built to WebAssembly components following the Component Model specification. The dev command provides a hot-reload development server for rapid iteration.wasmCloud enables distributed applications where components communicate through capability providers for networking, storage, and other system services. wash manages local development environments and interacts with remote wasmCloud lattices.

PARAMETERS

-o format

Output format: text, json.
--nats-host host
NATS server host.
--nats-port port
NATS server port.
--lattice id
Lattice ID to connect to.
--ctl-host host
Control interface host.

COMMANDS

new: Create project from template (component, provider).build: Build and sign component or provider.dev: Start hot-reload development loop.up: Bootstrap local wasmCloud environment.down: Tear down local environment.app: Manage declarative applications (wadm).start: Start a component or provider.stop: Stop a running component or provider.scale: Scale component instances.push: Push artifact to OCI registry.pull: Pull artifact from OCI registry.inspect: Show component WIT interfaces and metadata.lint: Check component for common issues.completions: Generate shell completions.

INSTALL

sudo apt install reaver
copy
sudo dnf install reaver
copy
sudo pacman -S reaver
copy
brew install reaver
copy

CAVEATS

Requires language-specific toolchains (Rust, Go, TinyGo) for building components. Local development needs Docker or Podman for NATS messaging. Some features require wasmCloud host running.

HISTORY

wash was created by the wasmCloud project as the primary interface for WebAssembly component development. The wasmCloud platform emerged from the Wasm community's effort to build distributed systems using the Component Model. wash consolidated multiple tools into a single CLI, becoming the standard interface for the wasmCloud ecosystem.

SEE ALSO

wasmtime(1), docker(1), podman(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid