Skip to content

Commit 651781a

Browse files
committed
aws cli
1 parent 89b4f33 commit 651781a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

scripts/common.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
export PATH=$PATH:$HOME/.cargo/bin
44

55

6+
# rustup
67
if hash rustup 2>/dev/null; then
78
echo "Have rustup, skipping installation..."
89
else
@@ -11,6 +12,7 @@ else
1112
fi
1213

1314

15+
# wasm-pack
1416
if hash wasm-pack 2>/dev/null; then
1517
echo "Have wasm-pack, skipping installation..."
1618
else
@@ -19,6 +21,19 @@ else
1921
fi
2022

2123

24+
# aws cli
25+
if hash aws 2>/dev/null; then
26+
echo "Have aws cli, skipping installation..."
27+
else
28+
echo "Installing aws cli..."
29+
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
30+
unzip awscliv2.zip
31+
sudo ./aws/install
32+
echo "Installed aws into:"
33+
which aws
34+
fi
35+
36+
2237
rustup update
2338
rustup default nightly
2439

0 commit comments

Comments
 (0)