OS Manuals

/usr/bin/wasm-pack

rust to wasm build tool

From wasm-pack 0.15.1-r0 (os), captured 2026-11-05 by running wasm-pack --help (exit 0). permalink

๐Ÿ“ฆ โœจ  pack and publish your wasm!

Usage: wasm-pack [OPTIONS] <COMMAND>

Commands:
  build    ๐Ÿ—๏ธ  build your npm package!
  pack     ๐Ÿฑ  create a tar of your npm package but don't publish!
  new      ๐Ÿ‘ create a new project with a template
  publish  ๐ŸŽ†  pack up your npm package and publish!
  login    ๐Ÿ‘ค  Add an npm registry user account! (aliases: adduser, add-user)
  test     ๐Ÿ‘ฉโ€๐Ÿ”ฌ  test your wasm!
  help     Print this message or the help of the given subcommand(s)

Options:
  -v, --verbose...             Log verbosity is based off the number of v used
  -q, --quiet                  No output printed to stdout
      --log-level <LOG_LEVEL>  The maximum level of messages that should be logged by wasm-pack. [possible values: info, warn, error] [default: info]
  -h, --help                   Print help
  -V, --version                Print version
Options (5)
OptionDescriptionSource
-v, --verboseLog verbosity is based off the number of v usedhelp
-q, --quietNo output printed to stdouthelp
--log-level LOG_LEVELThe maximum level of messages that should be logged by wasm-pack.help
-h, --helpPrint helphelp
-V, --versionPrint versionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.