Single command to set up a complete tinywasm development environment.
curl -fsSL https://raw.githubusercontent.com/tinywasm/installer/main/scripts/install.sh | bashirm https://raw.githubusercontent.com/tinywasm/installer/main/scripts/install.ps1 | iex- Installs Go (version pinned in
go_version.conf) - Builds and runs the Go installer binary
- Shows an interactive checklist of optional tools
- Installs all required + selected tools with progress spinner
- Verifies each tool after installation
| Tool | Mode | Required | Depends on |
|---|---|---|---|
| tinygoinstall | GoInstall | yes | — |
| tinywasm-cli | Binary | no | — |
| tinywasm-server | Binary | no | tinywasm-cli |
Required tools install automatically. Optional tools are shown in an interactive checklist before installation begins.
# Remove a specific tool
UNINSTALL=tinygo curl -fsSL .../install.sh | bash
# Remove all tools
UNINSTALL=all curl -fsSL .../install.sh | bash- Linux / macOS: bash, curl
- Windows: PowerShell 5.1+
- Internet connection
Go is installed automatically — no need to have it pre-installed.
Add one entry to the tools slice in installer.go:
var tools = []Tool{
// existing tools...
{Mode: Binary, Name: "mytool", Source: "https://github.com/org/mytool", Version: "1.0.0", Required: false},
}If the tool depends on another:
{Mode: Binary, Name: "gh", Source: "https://github.com/cli/cli", Version: "2.65.0", Required: false, DependsOn: "git"},Phase 1: bash / ps1
├── Read Go version from go_version.conf
├── Install Go via goinstall script
└── go install tinywasm/installer → run installer
Phase 2: Go binary
├── Show checklist of optional tools
├── Install required + selected tools
├── Verify each tool
└── Print summary