echo '\nexport PATH="~/.cargo/bin:$PATH"' >> ~/.bashrc echo '\nexport PATH=\"~/.cargo/bin:\$PATH\"' >> ~/.bashrc echo '\nexport RUSTUP_DIST_SERVER=\"https://mirrors.tuna.tsinghua.edu.cn/rustup\"' >> ~/.bashrc echo '\nexport RUSTUP_UPDATE_ROOT=\"https://mirrors.tuna.tsinghua.edu.cn/rustup/rustup\"' >> ~/.bashrc curl --proto '=https' --tlsv1.2 -sSf https://rsproxy.cn/rustup-init.sh | sh -s -- -y