Merge pull request #408 from mkdgs/patch-1

Update information about installation
This commit is contained in:
Tyndyll 2022-08-02 11:58:20 +01:00 committed by GitHub
commit d688e36b30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,12 +31,18 @@ brew update && brew install mailhog
Then, start MailHog by running `mailhog` in the command line.
#### Debian / Ubuntu
#### Debian / Ubuntu Go < v1.18
```bash
sudo apt-get -y install golang-go
go get github.com/mailhog/MailHog
```
#### Go >= v1.17 (Debian Bookworm)
```bash
sudo apt-get -y install golang-go
go install github.com/mailhog/MailHog@latest
```
Then, start MailHog by running `/path/to/MailHog` in the command line.
E.g. the path to Go's bin files on Ubuntu is `~/go/bin/`, so to start the MailHog run: