# asdf-httpd

[![Build](https://github.com/hyperpolymath/asdf-httpd-plugin/actions/workflows/build.yml/badge.svg)](https://github.com/hyperpolymath/asdf-httpd-plugin/actions/workflows/build.yml)
[![Lint](https://github.com/hyperpolymath/asdf-httpd-plugin/actions/workflows/lint.yml/badge.svg)](https://github.com/hyperpolymath/asdf-httpd-plugin/actions/workflows/lint.yml)
image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: PMPL-1.0,link="https://github.com/hyperpolymath/palimpsest-license"]

[asdf](https://asdf-vm.com) plugin for [Apache HTTP Server](https://httpd.apache.org).

Web server.

## Contents

- [Dependencies](#dependencies)
- [Install](#install)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)

## Dependencies

- `bash`, `curl`, `tar`, and [POSIX utilities](https://pubs.opengroup.org/onlinepubs/9699919799/idx/utilities.html)

## Install

Plugin:

```bash
asdf plugin add httpd https://github.com/hyperpolymath/asdf-httpd-plugin.git
```

httpd:

```bash
# Show all installable versions
asdf list-all httpd

# Install specific version
asdf install httpd latest

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

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

Check [asdf](https://asdf-vm.com/guide/getting-started.html) readme for more instructions.

## Usage

```bash
# List installed versions
asdf list httpd

# Set local version for current directory
asdf local httpd <version>

# Uninstall a version
asdf uninstall httpd <version>
```

## Contributing

Contributions welcome! Read the [contributing guidelines](CONTRIBUTING.adoc) first.

## License

Licensed under the [Palimpsest-MPL License (PMPL-1.0)](LICENSE).

---

> Maintained by [hyperpolymath](https://github.com/hyperpolymath)
