Rustをインストールする
Rustをインストールします。
% curl https://sh.rustup.rs -sSf | sh
1のデフォルトを選択します。
1) Proceed with installation (default) 2) Customize installation 3) Cancel installation
環境を設定します。
% source $HOME/.cargo/env
.zprofileにパスを追加します。
% vi ~/.zprofile export PATH="$HOME/.cargo/bin:$PATH"
Rustのバージョンを最新にします。
% rustup update
Rustのバージョンを確認します。
% rustc -V % cargo -V