# aleo

By [shaochila](https://paragraph.com/@shaochila) · 2021-12-01

---

阿莱奥
===

安装常用工具

安装rust

    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    

输入1回车

装不上就执行下面代码再利用

    echo 'export RUSTUP_UPDATE_ROOT=https://mirrors.tuna.tsinghua.edu.cn/rustup/rustup' >> ~/.bash_profile
    echo 'export RUSTUP_DIST_SERVER=https://mirrors.tuna.tsinghua.edu.cn/rustup' >> ~/.bash_profile
    

环境变量

    source $HOME/.cargo/env
    

下载包

    git clone https://github.com/AleoHQ/snarkOS.git --depth 1
    

进目录i

    cd snarkOS
    

编译安装

    ./testnet2_ubuntu.sh
    

创建钱包

开挖

    ./run-miner.sh
    

运行后输入你的地址即可

---

*Originally published on [shaochila](https://paragraph.com/@shaochila/aleo)*
