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:
parent
a50d80b5fc
commit
84a7d8b30d
12
README.md
12
README.md
@ -68,12 +68,18 @@ Mailpit runs as a single binary and can be installed in different ways:
|
|||||||
- **FreeBSD**: `pkg install mailpit`
|
- **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:
|
Linux & Mac users can install it directly to `/usr/local/bin/mailpit` with:
|
||||||
|
|
||||||
```bash
|
```shell
|
||||||
sudo bash < <(curl -sL https://raw.githubusercontent.com/axllent/mailpit/develop/install.sh)
|
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)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user