4 ms·
> Can't wait to try it? Go ahead! > curl https://get.wasmer.io https://get.wasmer.io -sSfL | sh No, thanks. I looked at the docs and running this shell scrip
by zzyzxd 5y ago
> Can't wait to try it? Go ahead!
> curl https://get.wasmer.io https://get.wasmer.io -sSfL | sh
No, thanks.
I looked at the docs and running this shell script from internet is the only mentioned installation method.
Then I took a look at the script, it only supports bash, zsh and fish and will try to inject stuff in my shell config, add a new executable directory, and download and run an executable without even verify file checksum
- syrusakbary 5y agoThere are also more ways to install Wasmer! You can use cargo (it will compile from source): cargo install wasmer-cli --features singlepass,cranelift Or a package manager: brew install wasmer You can check all available methods here. Hope this helps! https://github.com/wasmerio/wasmer-install#install-via-package-manager https://github.com/wasmerio/wasmer-install#install-via-packa...
- zzyzxd 5y agoI am sure there are many ways to install it securely. But why aren't any of them mentioned in the documentation? Besides searching the entire github organization, how can people discover these alternative installation methods?
- syrusakbary 5y agoWe showcase them already on the main repo (see other installation options): https://github.com/wasmerio/wasmer#install https://github.com/wasmerio/wasmer#install Do you think it will be useful to be showcased more prominently somewhere else?
- zzyzxd 5y agoAh, I did miss this section when I was browsing the main repo, it is kinda difficult to spot, especially since the section is collapsed by default. However, I was mainly talking about the documentation site, because documentation is always my first stop when exploring a new project. The README real estate on github is limited, but on the documentation site you have a whole page dedicated to describing how to install it, so I would love to see some installation methods there that are safer than blindly executing a random script from internet.