1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-05-13 22:06:31 +02:00

Update README to reflect script usage and allow custom INSTALL_PATH

This commit is contained in:
Ralph Slooten 2025-05-01 17:26:46 +12:00
parent a50d80b5fc
commit 84a7d8b30d

View File

@ -68,12 +68,18 @@ Mailpit runs as a single binary and can be installed in different ways:
- **FreeBSD**: `pkg install mailpit`
### Install via bash script (Linux & Mac)
### Install via script (Linux & Mac)
Linux & Mac users can install it directly to `/usr/local/bin/mailpit` with:
```bash
sudo bash < <(curl -sL https://raw.githubusercontent.com/axllent/mailpit/develop/install.sh)
```shell
sudo sh < <(curl -sL https://raw.githubusercontent.com/axllent/mailpit/develop/install.sh)
```
You can also change the install path to something else by setting the `INSTALL_PATH` environment, for example:
```shell
INSTALL_PATH=/usr/bin sudo sh < <(curl -sL https://raw.githubusercontent.com/axllent/mailpit/develop/install.sh)
```