1.3 KiB
1.3 KiB
dctlenv
Version manager for driftctl inspired by tfenv.
Installation
Basic GitHub Checkout
This will get you going with the latest version of dctlenv and make it easy to fork and contribute any changes back upstream.
1. Check out dctlenv where you want
$ git clone https://github.com/wbeuil/dctlenv ~/.dctlenv
2. Add ~/.dctlenv/bin
to your $PATH
for access to the dctlenv CLI
- For Bash:
$ echo 'export PATH="$HOME/.dctlenv/bin:$PATH"' >> ~/.bash_profile
- For Zsh:
$ echo 'export PATH="$HOME/.dctlenv/bin:$PATH"' >> ~/.zshrc
- For Fish:
$ set -Ux fish_user_paths $HOME/.dctlenv/bin $fish_user_paths
3. Restart your shell so that PATH changes take effect
Upgrading With Git
If you've installed dctlenv using the instructions above, you can upgrade to the latest version by pulling from GitHub.
$ cd ~/.dctlenv
$ git pull
Uninstalling dctlenv
You will need to first remove the line from your shell startup configuration file. This will remove dctlenv shims directory from your $PATH
.
Then, you just need to remove its root directory:
$ rm -rf `dctlenv root`