Skip to Content
Getting Started

Run your first package

Wasmer packages run from the CLI or inside JavaScript and Python applications. This guide uses the python/python package to calculate 1 + 1; no system Python installation is used inside the sandbox.

Install Wasmer

Choose the interface used by your host application:

On macOS or Linux:

curl https://get.wasmer.io -sSfL | sh

See Install Wasmer for Windows and other installation methods.

Run the package

wasmer run python/python@=3.13.18 -- -c "print(1+1)"

Each example prints 2. The @= syntax pins the exact registry package version so every run resolves the same artifact.

A sandbox can combine multiple packages and expose files, streams, networking, and long-running processes. Continue with the JavaScript SDK or Python SDK guide.

You can also publish your own package to run it through the CLI and every SDK.

Last updated on