You’ll need Go installed. Then according to this page you just add an import statement in run.go:
import _ "github.com/hacdias/caddy-filemanager"
Then build Caddy (build.bash or on Windows, go build or go install) and run it and you’re good to go!