Setup a Development Environment in your Desktop or Work Station.
1 min readApr 9, 2022
Installation of Visual studio code (VSCOD) Terraform & ZSH in Ubuntu desktop. “VERSION=20.04 LTS (Focal Fossa)”
Installation of VSCODE on Ubuntu 20.04
#!/bin/bashapt update
sudo apt install software-properties-common apt-transport-https wget
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
sudo apt install code
Installation of Terraform on Ubuntu 20.04
apt update
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
sudo apt-add-repository "deb [arch=$(dpkg --print-architecture)] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo apt install terraform
terraform --veerion
Installation of ZSH on Ubuntu 20.04 (for Amazon Linux plz click here)
sudo apt install zsh
zsh --version
echo $SHELL
chsh -s $(which zsh)wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
source ~/.zshrc
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
vim ~/.zshrc
Run the below command on your terminal
vim ~/.zshrc file
Find the plugin section and Add these two lines.
plugins=(git
zsh-autosuggestions
zsh-syntax-highlighting
)
At last run below commands:
source ~/.zshrc
zsh
For more info please connect & Follow me:
LinkedIn: https://www.linkedin.com/in/vkmanik/
Email: varunmanik1@gmail.com
Facebook: https://www.facebook.com/cloudvirtualization/
YouTube: https://bit.ly/32fknRN
Twitter: https://twitter.com/varunkmanik