当前位置:网站首页>Rust自定义安装路径
Rust自定义安装路径
2022-07-29 16:13:00 【爱学习的佳】
1、下载安装包
运行之后我们发现,会默认安装在C盘。

2、在需要安装的目录下分别建两个文件夹,名为.cargo与.rustup

3、配置环境变量
右键此电脑->属性->高级系统设置->环境变量


编辑"Path"变量,新增"%RUSTUP_HOME%"与"%CARGO_HOME%"

4、开始安装Rust
这时候我们重新运行Rust安装程序会发现,默认路径已经变成我们自定义的路径
接下来输入“1”,按Enter键开始默认安装

要检查您是否安装了 Rust 和 Cargo,可以在终端中运行:
cargo --version安装成功

边栏推荐
猜你喜欢

生产者消费代码

虚拟偶像的歌声原来是这样生成的!

Dry goods!How to Construct SRv6-TE Performance Test Environment Using Instrumentation

718. 最长重复子数组

两军交锋

Easy Genes: Human tRNA loci exhibit DNA hypermethylation associated with aging | Research Article

Knowledge map construction whole process

澜舟孟子轻量化预训练模型技术实践

Chicken and rabbit in the same cage

ByteArrayOutputStream class source code analysis
随机推荐
This article penetrates the architecture design and cluster construction of the distributed storage system Ceph (hands-on)
蓝思科技发力整机组装业务,子公司拟30亿建智能终端设备智造项目
Groeb - "gramm, explicit and complete n -" gramm mask language model, implements the explicit n - "gramm semantic unit modeling knowledge.
【 Leetcode 】 200. The number of islands (medium)
中国厂商统治印度智能手机市场,份额提升至77%
mysql的sql分页查询语句怎么写_sql 分页查询语句(mysql分页语句)「建议收藏」
Flutter dynamic | Fair server new version features
如何破坏单例?我说了好几种方式,面试官:没想到你真会
一文参透分布式存储系统Ceph的架构设计、集群搭建(手把手)
传输层 TCP的连接管理-释放连接四次握手
ASCII码排序
Talking about the memory layout of the program
【翻译】设备管理器—英特尔网卡属性设置高级选项的功能
特殊的类——集合与泛型(C#)
【Swoole系列3.2】Swoole 异步进程服务系统
Quantitative primary - akshare get the stock code, the minimalist strategy
When to use UserCF and when to use ItemCF?
pjax无法生效解决办法,butterfly主题维护你的pjax
支持百亿请求的微博广告运维技术实践
零花钱
https://www.rust-lang.org/tools/install