brew install rust-lang code example Example: Ubuntu install rust curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh