Skip to content

Instantly share code, notes, and snippets.

@yakirChen
Last active April 23, 2018 04:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yakirChen/b36bed33ec1a5e34b27c7144511cbb5a to your computer and use it in GitHub Desktop.
Save yakirChen/b36bed33ec1a5e34b27c7144511cbb5a to your computer and use it in GitHub Desktop.
rustup 安装对话框
% curl https://sh.rustup.rs -sSf | sh
info: downloading installer
Welcome to Rust!
This will download and install the official compiler for the Rust programming
language, and its package manager, Cargo.
It will add the cargo, rustc, rustup and other commands to Cargo's bin
directory, located at:
/Volumes/sd/repos/cargo/bin
This path will then be added to your PATH environment variable by modifying the
profile files located at:
/Users/yakir/.profile
/Users/yakir/.zprofile
You can uninstall at any time with rustup self uninstall and these changes will
be reverted.
Current installation options:
default host triple: x86_64-apple-darwin
default toolchain: stable
modify PATH variable: yes
1) Proceed with installation (default)
2) Customize installation
3) Cancel installation
2
I'm going to ask you the value of each these installation options.
You may simply press the Enter key to leave unchanged.
Default host triple?
Default toolchain? (stable/beta/nightly/none)
stable
Modify PATH variable? (y/n)
n
Current installation options:
default host triple: x86_64-apple-darwin
default toolchain: stable
modify PATH variable: no
1) Proceed with installation (default)
2) Customize installation
3) Cancel installation
1
info: updating existing rustup installation
Rust is installed now. Great!
To get started you need Cargo's bin directory (/Volumes/sd/repos/cargo/bin) in
your PATH environment variable.
To configure your current shell run source /Volumes/sd/repos/cargo/env
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment