You are on page 1of 2

1.

git(下载(在新选项卡中打开))
2. 铸造厂(锻造、铁砧、铸造)(下载(在新选项卡中打开),确保 foundryup 至少一次)

2.1 打开 git-bash.exe,输入:

git config --global http.proxy http://127.0.0.1:7890


git config --global https.proxy http://127.0.0.1:7890

(https://zhuanlan.zhihu.com/p/648164862)

在 C:\Windows\System32\drivers\etc\hosts 文件添加:

185.199.108.133 raw.githubusercontent.com

185.199.109.133 raw.githubusercontent.com

185.199.110.133 raw.githubusercontent.com

185.199.111.133 raw.githubusercontent.com

140.82.113.3 github.com

(https://www.jianshu.com/p/52dee5b08c29)

2.2 输入:curl -L https://foundry.paradigm.xyz | bash

2.3 打开新的 git-bash.exe,输入:foundryup,安装 Foundry。

2.4 您将需要 Rust 编译器和 Cargo(Rust 包管理器)。安装两者的最简单方法是使用


rustup.rs.

在 Windows 上,您还需要最新版本的 Visual Studio,并安装“使用 C++ 进行桌面开


发”工作负载选项。

3. Node.js (v16+) (下载(在新选项卡中打开))

安装过程中,有一个勾选项,勾上,安装成功后,会自动打开 PowerShell 安装一些所


需要的工具。

4. pnpm(安装节点后 npm install --global pnpm :)

打开 node.exe,输入:npm install --global pnpm

5. 打开 PowerShell,输入:pnpm create mud@next my-project,创建项目

如遇无法加载的错误,先输入:set-ExecutionPolicy RemoteSigned
(https://blog.csdn.net/qq_37860634/article/details/128743944)

https://blog.csdn.net/m0_69057918/article/details/132139286

https://www.cnblogs.com/uuzuo/p/17214518.html

You might also like