rustup 慢_Rust 下载安装加速指南

➜ ~ 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:/Users/baoyachi/.cargo/binThis can be modified with the CARGO_HOME environment variable.Rustup metadata and toolchains will be installed into the Rustuphome directory, located at:/Users/baoyachi/.rustupThis can be modified with the RUSTUP_HOME environment variable.This path will then be added to your PATH environment variable bymodifying the profile files located at:/Users/baoyachi/.profile/Users/baoyachi/.zprofileYou can uninstall at any time with rustup self uninstall andthese changes will be reverted.Current installation options:default host triple: x86_64-apple-darwindefault toolchain: stableprofile: defaultmodify PATH variable: yes1) Proceed with installation (default)2) Customize installation3) Cancel installation>1info: profile set to 'default'info: syncing channel updates for 'stable-x86_64-apple-darwin'info: latest update on 2019-09-26, rust version 1.38.0 (625451e37 2019-09-23)info: downloading component 'cargo'3.7 MiB / 3.7 MiB (100 %) 643.2 KiB/s in 6s ETA: 0sinfo: downloading component 'clippy'1.3 MiB / 1.3 MiB (100 %) 647.7 KiB/s in 2s ETA: 0sinfo: downloading component 'rust-docs'11.7 MiB / 11.7 MiB (100 %) 531.2 KiB/s in 21s ETA: 0sinfo: downloading component 'rust-std'170.9 MiB / 170.9 MiB (100 %) 579.2 KiB/s in 5m 24s ETA: 0sinfo: downloading component 'rustc'60.4 MiB / 60.4 MiB (100 %) 546.7 KiB/s in 2m 34s ETA: 0sinfo: downloading component 'rustfmt'1.9 MiB / 1.9 MiB (100 %) 629.2 KiB/s in 6s ETA: 0sinfo: installing component 'cargo'info: installing component 'clippy'info: installing component 'rust-docs'11.7 MiB / 11.7 MiB (100 %) 4.5 MiB/s in 2s ETA: 0sinfo: installing component 'rust-std'170.9 MiB / 170.9 MiB (100 %) 29.4 MiB/s in 6s ETA: 0sinfo: installing component 'rustc'60.4 MiB / 60.4 MiB (100 %) 13.0 MiB/s in 4s ETA: 0sinfo: installing component 'rustfmt'info: default toolchain set to 'stable'stable installed - rustc 1.38.0 (625451e37 2019-09-23)Rust is installed now. Great!To get started you need Cargo's bin directory ($HOME/.cargo/bin) in your PATH

environment variable. Next time you log in this will be done

automatically.

To configure your current shell run source $HOME/.cargo/env

➜ ~ source $HOME/.cargo/env

➜ ~

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值