Installation
Prerequisites
The minimum packages/requirements are as follows:
- Node
v16+
- Yarn
v1.22+
or Npmv6.0+
Setup rust environment
WasmKit requires a Rust environment installed on local machine to work properly. A working instance of rustup
and rustc
should be enough to get started.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shrustup --versionrustc --version
Installation
yarn global add @kubiklabs/wasmkit
or
npm install -g @kubiklabs/wasmkit
Installation from source
git clone https://github.com/kubiklabs/wasmkit.gitcd wasmkit && yarn install && yarn buildcd packages/wasmkit && yarn linkchmod +x $HOME/.yarn/bin/wasmkitexport PATH=$PATH:$HOME/.yarn/bin