Version manager for driftctl
 
 
Go to file
William Beuil b4c834846b
First commit with help and version commands, start README and custom logger
2021-01-23 16:01:46 +01:00
bin First commit with help and version commands, start README and custom logger 2021-01-23 16:01:46 +01:00
lib First commit with help and version commands, start README and custom logger 2021-01-23 16:01:46 +01:00
libexec First commit with help and version commands, start README and custom logger 2021-01-23 16:01:46 +01:00
.editorconfig First commit with help and version commands, start README and custom logger 2021-01-23 16:01:46 +01:00
LICENSE Initial commit 2021-01-23 12:27:42 +01:00
README.md First commit with help and version commands, start README and custom logger 2021-01-23 16:01:46 +01:00

README.md

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`