Syrus Akbary
May 7 · 2 min read

Two weeks ago we released the first version of WAPM (the WebAssembly Package Manager) and since then we got a lot of insight and traction from the community.

One of the features people asked about the most, both on Hacker News and on our internal forums was to be able to install and use packages globally… what a great idea!

So we worked to make it possible in the latest version of Wasmer:

wapm install -g lua  # The -g flag indicates a global install

And… you can run lua anywhere!

wapm run lua

However …could we go one step further?

Wouldn’t be great if we can auto-generate the commands as scripts, and append it to the $PATH so the commands can be used more easily?

No sooner said than done…

New wapm 0.2.0 features

Apart from supporting global installs in wapm, we also added a lot of new features:

  • wapm list outputs the list of installed packages
  • Now you can uninstall a package by doing wapm uninstall PACKAGE_NAME
  • Get the bin directory for wapm commands using wapm bin
  • Install specific versions with wapm install lua@0.1.0

You can check the full list of changes here.

🎉 Recently Published Packages

With this release, we are also announcing three new packages available on wapm:


We got the JavaScript interpreter that is embedded in Safari, compiled to WebAssembly (thanks to the great work of Ming on JSC.js).

Install it with:

wapm install -g jsc


OptiPNG is a PNG optimizer that recompresses image files to a smaller size, without losing any information.

Install it with:

wapm install -g optipng


pngquant is a lossy PNG compressor that can reduce the size of your .png files up to 70%.

Install it with:

wapm install -g pngquant

We can’t wait to see what you build with us!


Universal WebAssembly runtime

Thanks to Mark McCaskey

Syrus Akbary

Written by

Entrepreneur. Developer. Mathematician



Universal WebAssembly runtime

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade