Skip to content

Install the SDK

Erik McClure edited this page Jan 18, 2021 · 3 revisions

The inNative SDK includes both the runtime, a test suite, debug symbols, and everything else a developer needs to embed or utilize the inNative WebAssembly runtime.

Windows

Download the windows installer from the latest release and install it with the options you prefer. The SDK will, by default, register it's runtime to the registry and associate itself with .wat, .wast, and .wasm files. You can install the SDK wherever you want, as long as you don't move it - the stub will locate it via the registry and dynamically load it at runtime.

You can also download the portable version, unzip it anywhere you want, and install it at a later time by running innative-cmd.exe -i from the SDK bin directory.

To uninstall, simply uninstall it from "add/remove programs", or run innative-cmd.exe -u from the SDK bin directory.

Linux

No prebuilt version of inNative is available for Linux due to glibc portability issues. However, you can still install any version you built from source into your path by running ./innative-cmd -i from the bin directory. This will copy the runtime and it's libraries into /usr/bin/ and /usr/lib/ using symlink versioning. You will then be able to call innative-cmd from the command line, which will automatically use the latest version of the runtime installed on your machine. Because this is a copy operation, you are free to move or delete the original files, but it only installs the runtime itself, not the tests! If you want to run tests, use other tools from the SDK, or use debug symbols, you should keep the SDK around.

To uninstall, simply run ./innative-cmd -u from the bin directory, or from the command line. Running it from the command line will uninstall the latest version - if there was only one version of the runtime, it will remove all symlinks from the system entirely.