OS Manuals

/usr/bin/wasm-strip

The WebAssembly Binary Toolkit

From wabt 1.0.42-r0 (os), captured 2026-11-05 by running wasm-strip --help (exit 0). permalink

usage: wasm-strip [options] filename

  Remove sections of a WebAssembly binary file.

examples:
  # Remove all custom sections from test.wasm
  $ wasm-strip test.wasm

options:
      --help                               Print this help message
      --version                            Print version information
  -o, --output=FILE                        output wasm binary file
  -k, --keep-section=SECTION NAME          Section name to keep in the final output
  -R, --remove-section=SECTION NAME        Section to specifically remove, including all the rest
Options (5)
OptionDescriptionSource
--helpPrint this help messagehelp + man
--versionPrint version informationhelp + man
-o, --output FILEoutput wasm binary filehelp + man
-k, --keep-section SECTIONNAME Section name to keep in the final outputhelp + man
-R, --remove-section SECTIONSection to specifically remove, including all the resthelp
Examples (1) from the manual page, untested

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