Installation fails on Linux and macOS
Author: tronicalCreated Aug 6, 2025Updated Feb 8, 2026
Bug description
The instructions at
https://drager.github.io/wasm-pack/installer/recommend the use of
curl https://drager.github.io/wasm-pack/installer/init.sh -sSf | shon macOS, this errors out:
% curl https://drager.github.io/wasm-pack/installer/init.sh -sSf | sh
sh: line 35: ORIG_ARGS[@]: unbound variableon Linux, this errors out:
$ curl https://drager.github.io/wasm-pack/installer/init.sh -sSf | sh
sh: 21: Syntax error: "(" unexpected (expecting "fi")The old url (https://rustwasm.github.io/wasm-pack/installer/init.sh) still works.
Expected Behavior
It should work again :-)
Steps to reproduce
See above :)
Source: wasm-bindgen/wasm-pack