-
Notifications
You must be signed in to change notification settings - Fork 0
/
install-rust
executable file
·51 lines (45 loc) · 995 Bytes
/
install-rust
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/env bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y --no-modify-path
export PATH="$HOME/.cargo/bin:$PATH"
rustup default stable
rustup component add rust-src
rustup component add rust-analyzer
rustup target add wasm32-unknown-unknown
rustup target add x86_64-pc-windows-gnu
rustup target add aarch64-apple-darwin
rustup toolchain install nightly-2024-03-29
export PATH="$HOME/.cargo/bin:$PATH"
echo "Installing rust utilities"
cargo install \
ag \
ast-grep \
bacon \
bat \
cargo-asm \
cargo-generate \
cargo-expand \
cargo-lipo \
cargo-nextest \
cargo-watch \
diskonaut \
erdtree \
eva \
fd-find \
gitui \
hyperfine \
just \
lsd \
mdbook \
miniserve \
pastel \
pipr \
ripgrep \
starship \
tealdeer \
trunk \
wasm-pack \
watchexec-cli \
;
cargo install atuin --version 18.3.0
cargo install --locked xh
cargo install trippy --locked