| Crates.io | multirust-rs |
| lib.rs | multirust-rs |
| version | 0.0.4 |
| created_at | 2015-09-29 14:25:39.868351+00 |
| updated_at | 2015-12-15 00:03:39.936387+00 |
| description | multirust in rust - manage multiple rust installations with ease |
| homepage | https://github.com/Diggsey/multirust-rs |
| repository | https://github.com/Diggsey/multirust-rs |
| max_upload_size | |
| id | 3132 |
| size | 55,492 |
Multirust-rs is a reimplementation of multirust in rust. It provides both a command line interface, and a rust library, so it's trivial to integrate it with external tools.
Run this command in a writable directory:
git clone --depth 1 https://github.com/Diggsey/multirust-rs.git multirust-rs && cd multirust-rs && cargo run --release install [-a]
Passing -a will attempt to automatically add ~/.multirust/bin to your PATH.
On linux, this is done by appending to ~/.profile.
On windows, this is done by modifying the registry entry HKCU\Environment\PATH.
The changes to PATH will not take effect immediately within the same terminal.
The multirust-rs directory which is created is no longer required once installation has completed, but keeping it around will make future updates much faster:
cd multirust-rs && git pull && cargo run --release install
USAGE:
multirust [FLAGS] [SUBCOMMAND]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
-v, --verbose Enable verbose output
SUBCOMMANDS:
ctl
default Set the default toolchain.
delete-data Delete all user metadata.
doc Open the documentation for the current toolchain.
help Prints this message
install Installs multirust.
list-overrides List all overrides.
list-toolchains List all installed toolchains.
override Set the toolchain override.
remove-override Remove an override.
remove-toolchain Uninstall a toolchain.
run Run a command.
show-default Show information about the current default.
show-override Show information about the current override.
uninstall Uninstalls multirust.
update Install or update a given toolchain.
upgrade-data Upgrade the ~/.multirust directory.
which Report location of the currently active Rust tool.
git checkout -b my-new-featuregit commit -am 'Add some feature'git push origin my-new-featureMIT