go install github.com/fasthttpd/fasthttpd/cmd/fasthttpd@latest
Download binary from release.
VERSION=0.4.1 GOOS=Linux GOARCH=x86_64; \curl -fsSL "https://github.com/fasthttpd/fasthttpd/releases/download/v${VERSION}/fasthttpd_${VERSION}_${GOOS}_${GOARCH}.tar.gz" | \tar xz fasthttpd && \sudo mv fasthttpd /usr/sbin
Linux
Darwin
Windows
x86_64
arm64
i386
brew tap fasthttpd/fasthttpdbrew install fasthttpd
Download deb or rpm from release, and then execute apt install
or yum install
.
VERSION=0.4.1 ARCH=amd64; \curl -fsSL -O "https://github.com/fasthttpd/fasthttpd/releases/download/v${VERSION}/fasthttpd_${VERSION}_${ARCH}.deb"sudo apt install "./fasthttpd_${VERSION}_${ARCH}.deb"
/etc/fasthttpd/config.yaml
/var/log/fasthttpd
See https://hub.docker.com/r/fasthttpd/fasthttpd
docker run --rm -p 8080:80 fasthttpd/fasthttpd
Then you can hit http://localhost:8080 in your browser.
Check out the configuration guide.