2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

wsl ubuntuにtfenvインストール

Last updated at Posted at 2022-01-26

#インストール

$ git clone https://github.com/tfutils/tfenv.git ~/.tfenv
$ touch .bash_profile
$ echo export PATH='$HOME/.tfenv/bin:$PATH' >> ~/.bash_profile
$ source ~/.bash_profile

#tfenvバージョン確認
$ tfenv -v
tfenv 2.2.2-84-g459d15b
$ sudo apt-get install zip

#インストールできるバージョン確認
$ tfenv list-remote

#バージョン指定でインストール
$ tfenv install 1.1.4

#使用できるバージョン確認
$ tfenv list
   1.1.4

#使用するバージョン指定
$ tfenv use 1.1.4
 Switching default version to v1.1.4
 Switching completed

#terraformバージョン確認
$ terraform --version
Terraform v1.1.4
on linux_amd64
2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?