Created
August 20, 2024 04:58
-
-
Save shiveshabhishek/1795a5dc3a682f79be27c45949ac1bd0 to your computer and use it in GitHub Desktop.
New machine basic tools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt update | |
sudo apt install -y curl | |
sudo apt install -y docker.io | |
sudo groupadd docker | |
sudo usermod -aG docker $USER | |
sudo snap install simplenote | |
sudo snap install slack | |
#Install k3d | |
curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash | |
# Install kubectl | |
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" | |
chmod +x kubectl | |
mv ./kubectl /usr/local/bin/kubectl | |
echo 'source <(kubectl completion bash)' >>~/.bashrc | |
echo 'alias k=kubectl' >>~/.bashrc | |
echo 'complete -o default -F __start_kubectl k' >>~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment