wasm-by-example
wasm-by-example copied to clipboard
Use npx rather than npm global install?
Rather than globally installing AssemblyScript:
$ npm install -g assemblyscript
$ asinit wasi-hello-world
$ cd wasi-hello-world
Would it be better to use npx instead?
$ npx -p assemblyscript asinit wasi-hello-world
$ cd wasi-hello-world
Yo! Thanks for the issue @ColinEberhardt :smile:
Hmmmmm that's an interesting point! I've always just installed it globally, and have preferred it :upside_down_face:
But! If you think that'd probably be best practice to encourage newcomers to do, than I am happy to change it :smile:
I think npx makes more sense for people who might be trying this out for fun, or just experimenting.
@ColinEberhardt Sounds good to me! :smile: I'll go ahead and open up a PR to fix this once I get the change :smile: Thanks dude!