A version manager for rust.
curl get.javanile.org/r | shor
wget -O- get.javanile.org/r | shln -s ~/.rsvm/rsvm.fish ~/.config/fish/functionsor
echo "source ~/.rsvm/rsvm.fish" >> ~/.config/fish/config.fishShow the help messages. Choose the one that you like most.
rsvm help
rsvm --help
rsvm -hDownload and install a <version>. <version> could be for example "0.12.0".
rsvm install <version>
e.g.: rsvm install 0.12.0Activate <version> for now and the future.
rsvm use <version>
e.g. rsvm use 0.12.0List all installed versions of rust. Choose the one that you like most.
rsvm ls
rsvm listList all versions of rust that are available for installation.
rsvm ls-remotePrint a channel version of rust that is available for installation.
rsvm ls-channel stablecurl https://raw.github.com/sdepold/rsvm/master/install.sh | sh
source ~/.rsvm/rsvm.sh
rsvm install 0.12.0
rsvm use 0.12.0
# you will now be able to access the rust binaries:
~ ∴ rustc -v
rustc 0.12.0
host: x86_64-apple-darwin
~ ∴ cargo -h
Usage: cargo <cmd> [options] [args..]
~ ∴ rustdoc -h
Usage: rustdoc [options] <cratefile>RSVM is tested with bats. Install like this:
git clone https://github.com/sstephenson/bats.git
cd bats
./install.sh /usr/localInside the rsvm repository do this:
bats test/rsvm.sh.batsHereby placed under MIT license.