From 6ea4688b737e5a1ff9335a5ed7e71fb9338414ed Mon Sep 17 00:00:00 2001 From: Mickael Desgranges Date: Sat, 9 Jul 2022 18:04:15 +0200 Subject: [PATCH] Update information about installation 'go get' not work with go >=v1.18 see https://go.dev/doc/go-get-install-deprecation --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6973386..cf55ed0 100644 --- a/README.md +++ b/README.md @@ -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: