설치
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
환경 변수 설정
vi ~/.profile
위의 명령으로 파일을 열고 가장 아랫줄에 아래 내용을 추가하고 저장한다.
export PATH="$HOME/.cargo/bin:$PATH"
그리고 설정을 적용시키기 위해 아래 명령을 실행한다.
source ~/.profile
버전 확인
rustc --version
업데이트
rustup update
삭제
rustup self uninstall