Check out this tutorial article: Deno Apps with WebAssembly, Rust, and WASI
Also, if you have not done so, please bring your Linux system up to date with dev tools.
sudo apt install build-essential curl wget git vim libboost-all-dev
$ npm install -g ssvmup # Append --unsafe-perm if permission denied
$ ssvmup build --target deno
$ deno run --allow-read --allow-env --unstable deno/test.ts arg1 arg2
$ deno run --allow-read --allow-write --allow-env --unstable pkg/deno_wasi_example.js