pub fn run(pre: bool, version: Option<&str>) -> Result<(), String>Expand description
Download and run the install script, forwarding the channel/version flags.
Mirrors the flags accepted by scripts/install.sh: --pre for the latest
prerelease, --version <TAG> for an exact version. With neither, the latest
stable release is installed.