Skip to content

tinywasm/installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinywasm/installer

Single command to set up a complete tinywasm development environment.

Quick start

Linux / macOS

curl -fsSL https://raw.githubusercontent.com/tinywasm/installer/main/scripts/install.sh | bash

Windows (PowerShell as Admin)

irm https://raw.githubusercontent.com/tinywasm/installer/main/scripts/install.ps1 | iex

What it does

  1. Installs Go (version pinned in go_version.conf)
  2. Builds and runs the Go installer binary
  3. Shows an interactive checklist of optional tools
  4. Installs all required + selected tools with progress spinner
  5. Verifies each tool after installation

Tools

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.

Uninstall

# Remove a specific tool
UNINSTALL=tinygo curl -fsSL .../install.sh | bash

# Remove all tools
UNINSTALL=all curl -fsSL .../install.sh | bash

Requirements

  • Linux / macOS: bash, curl
  • Windows: PowerShell 5.1+
  • Internet connection

Go is installed automatically — no need to have it pre-installed.

Adding a new tool

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"},

How it works

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

Testing

About

Orchestrator for the tinywasm ecosystem — installs Go, TinyGo, and all required tools

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors