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