-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup
More file actions
22 lines (20 loc) · 658 Bytes
/
setup
File metadata and controls
22 lines (20 loc) · 658 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
# Install minikube
if command -v minikube &> /dev/null
then
echo "Minikube is installed"
else
echo "Minikube is not installed. Installing...."
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube && rm minikube-linux-amd64
fi
# Install mongosh
if command -v mongosh &> /dev/null
then
echo "mongosh is installed."
else
wget https://downloads.mongodb.com/compass/mongodb-mongosh_2.2.15_amd64.deb
sudo dpkg -i mongodb-mongosh_2.2.15_amd64.deb
rm mongodb-mongosh_2.2.15_amd64.deb
echo "mongosh installed successfully!"
fi