tfschema最新版リリースバイナリを ${HOME}
のbinにダウンロードして配置するワンライナー。
- ただし、アーキテクチャは自前指定。
curl -kLRs `curl -kLRs https://api.github.com/repos/minamijoyo/tfschema/releases/latest | grep browser_download_url | grep linux | grep amd64 | awk '{print($NF);}' | tr -d '"'` | tar -C ~/bin -zxf - tfschema
- anyenvだと
${ANYENV_DEFINITION_ROOT}/tfenv
でinstall_plugin
指定すれば良いのだろうか…?