Let's get our environment set up.
Make sure we’re on latest version of node
We need to be version 14 or above.
$ nvm install --lts
Install npx
$ npm i -g npx
Create working directory
$ mkdir iwasm && cd iwasm
Install the loader
$ npm i --save @assemblyscript/loader
Install AssemblyScript
$ npm i --save-dev assemblyscript
Scaffold and build an empty project
$ npx asinit .
$ npm run asbuild
We're following the official AssemblyScript quick start guide