Rustup

On GNU/Linux

 1❯ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
 2info: downloading installer
 3
 4Welcome to Rust!
 5
 6This will download and install the official compiler for the Rust
 7programming language, and its package manager, Cargo.
 8
 9Rustup metadata and toolchains will be installed into the Rustup
10home directory, located at:
11
12  /home/pvergain/.rustup
13
14This can be modified with the RUSTUP_HOME environment variable.
15
16The Cargo home directory located at:
17
18  /home/pvergain/.cargo
19
20This can be modified with the CARGO_HOME environment variable.
21
22The cargo, rustc, rustup and other commands will be added to
23Cargo's bin directory, located at:
24
25  /home/pvergain/.cargo/bin
26
27This path will then be added to your PATH environment variable by
28modifying the profile files located at:
29
30  /home/pvergain/.profile
31  /home/pvergain/.bash_profile
32  /home/pvergain/.bashrc
33  /home/pvergain/.zshenv
34
35You can uninstall at any time with rustup self uninstall and
36these changes will be reverted.
37
38Current installation options:
39
40
41   default host triple: x86_64-unknown-linux-gnu
42     default toolchain: stable (default)
43               profile: default
44  modify PATH variable: yes
45
461) Proceed with installation (default)
472) Customize installation
483) Cancel installation
49>1
50
51info: profile set to 'default'
52info: default host triple is x86_64-unknown-linux-gnu
53info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
54info: latest update on 2021-02-11, rust version 1.50.0 (cb75ad5db 2021-02-10)
55info: downloading component 'cargo'
56info: downloading component 'clippy'
57info: downloading component 'rust-docs'
58 14.7 MiB /  14.7 MiB (100 %)  10.5 MiB/s in  1s ETA:  0s
59info: downloading component 'rust-std'
60 24.5 MiB /  24.5 MiB (100 %)  10.7 MiB/s in  2s ETA:  0s
61info: downloading component 'rustc'
62 60.3 MiB /  60.3 MiB (100 %)  10.9 MiB/s in  6s ETA:  0s
63info: downloading component 'rustfmt'
64info: installing component 'cargo'
65info: using up to 500.0 MiB of RAM to unpack components
66info: installing component 'clippy'
67info: installing component 'rust-docs'
68 14.7 MiB /  14.7 MiB (100 %)  11.2 MiB/s in  1s ETA:  0s
69info: installing component 'rust-std'
70 24.5 MiB /  24.5 MiB (100 %)  14.9 MiB/s in  2s ETA:  0s
71info: installing component 'rustc'
72 60.3 MiB /  60.3 MiB (100 %)  17.0 MiB/s in  3s ETA:  0s
73info: installing component 'rustfmt'
74info: default toolchain set to 'stable-x86_64-unknown-linux-gnu'
75
76  stable-x86_64-unknown-linux-gnu installed - rustc 1.50.0 (cb75ad5db 2021-02-10)
77
78
79Rust is installed now. Great!
80
81To get started you need Cargo's bin directory ($HOME/.cargo/bin) in your PATH
82environment variable. Next time you log in this will be done
83automatically.
84
85To configure your current shell, run:
86source $HOME/.cargo/env
87
88~ took 39s
89

Cargo: the Rust build tool and package manager