Skip to content

Commit

Permalink
Add asdf installation instructions to read-me (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathew-fleisch authored Nov 2, 2021
1 parent 6b27dc5 commit 7d78eb3
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ See [Installation](#installation) and [Common Examples](#common-examples)
- [Arch Linux](#arch-linux)
- [Windows](#windows)
- [Binary](#binary)
- [asdf](#asdf)
- [From source](#from-source)
- [Use Docker](#use-docker)
- [Quick Start](#quick-start)
Expand Down Expand Up @@ -145,6 +146,27 @@ Download the archive file for your operating system/architecture. Unpack the arc

- NOTE: Make sure that it's execution bits turned on. (`chmod +x dockle`)

## asdf

You can install dockle with the [asdf version manager](https://asdf-vm.com/) with this [plugin](https://github.com/mathew-fleisch/asdf-dockle), which automates the process of installing (and switching between) various versions of github release binaries. With asdf already installed, run these commands to install dockle:

```bash
# Add dockle plugin
asdf plugin add dockle

# Show all installable versions
asdf list-all dockle

# Install specific version
asdf install dockle latest

# Set a version globally (on your ~/.tool-versions file)
asdf global dockle latest

# Now dockle commands are available
dockle --version
```

## From source

```bash
Expand Down

0 comments on commit 7d78eb3

Please sign in to comment.