Skip to main content

install_from_shelf

Function install_from_shelf 

Source
pub fn install_from_shelf(
    node: &str,
    cargo_home: &Path,
) -> Result<String, String>
Expand description

Runs a node’s installer for both packages, into cargo_home/bin.

The script is fetched to a file and run from it rather than piped, so what ran is on disk to read afterwards.

§Errors

Returns the installer’s own words when it refuses.