Check out example codes for "rustup". It will help you in understanding the concepts better.

Code Example 1

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

Learn ReactJs, React Native from akashmittal.com