← 返回命令列表

Linux command

wapm 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Install package

wapm install [package]

Run package

wapm run [package]

Search packages

wapm search [query]

Publish package

wapm publish

Login

wapm login

List installed

wapm list

说明

wapm is the package manager for WebAssembly modules, providing commands to install, run, search, and publish packages from the wapm.io registry. It works with the Wasmer runtime to execute WebAssembly packages on any platform. Packages installed through wapm contain pre-compiled WebAssembly modules that run in a sandboxed environment, making them portable across operating systems and architectures. The registry hosts a variety of tools and libraries compiled to WebAssembly from languages like Rust, C, and AssemblyScript. Publishing packages requires a wapm.io account and a wapm.toml manifest file describing the package metadata, entry points, and dependencies.

参数

install
Install package.
run
Run package.
search
Find packages.
publish
Upload package.
login
Authenticate.
list
Show installed.

FAQ

What is the wapm command used for?

wapm is the package manager for WebAssembly modules, providing commands to install, run, search, and publish packages from the wapm.io registry. It works with the Wasmer runtime to execute WebAssembly packages on any platform. Packages installed through wapm contain pre-compiled WebAssembly modules that run in a sandboxed environment, making them portable across operating systems and architectures. The registry hosts a variety of tools and libraries compiled to WebAssembly from languages like Rust, C, and AssemblyScript. Publishing packages requires a wapm.io account and a wapm.toml manifest file describing the package metadata, entry points, and dependencies.

How do I run a basic wapm example?

Run `wapm install [package]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does install do in wapm?

Install package.