❯ cd ~/Downloads
❯ wget https://releases.hashicorp.com/terraform/0.13.4/terraform_0.13.4_linux_amd64.zip
❯ unzip terraform_0.13.4_linux_amd64.zip
❯ mkdir ~/.bin/
❯ mv -v terraform ~/.bin
Add export ZSH="/home/danesh/.oh-my-zsh"
to ~/.zshrc
Add into ~/.zshrc
autoload -U +X bashcompinit && bashcompinit
complete -o nospace -C ~/.bin/terraform terraform
Start a new terminal to reload the env variables.
❯ which terraform
/home/danesh/.bin/terraform
❯ terraform version
Terraform v0.13.4