Skip to content

Commit

Permalink
Update usage in README
Browse files Browse the repository at this point in the history
  • Loading branch information
toricls committed Jun 16, 2021
1 parent 7338a0b commit 046f28c
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,27 @@ asdf plugin-add eks-kubectl https://github.com/toricls/asdf-eks-kubectl.git

- jq

## Use
## Usage

Check out the [asdf documentation](https://asdf-vm.com/#/core-manage-versions?id=install-version) for instructions on how to install and manage versions of Kubectl.
List all available versions:

```
asdf list-all kubectl
```

Install and point specific EKS-vended kubectl version:

```
# Install
asdf install kubectl 1.20.4
# Set version
asdf global kubectl 1.20.4
```

Use `eks-kubectl` instead of `kubectl` if you installed the plugin with different name such as `eks-kubectl`.

See also the [asdf documentation](https://asdf-vm.com/#/core-manage-versions?id=install-version) for more instructions.

## Acknowledgement

Expand Down

0 comments on commit 046f28c

Please sign in to comment.