mix pagefind.install (pagefind v0.1.0)
Installs pagefind executable.
$ mix pagefind.install
$ mix pagefind.install --if-missing
By default, it installs 1.3.0 but you can configure it in your config files, such as:
config :pagefind, :version, "1.3.0"
To install the Pagefind binary from a custom URL (e.g. if your platform isn't officially supported by Pagefind), you can supply a third party path to the binary (beware that we cannot guarantee the compatibility of any third party executable):
$ mix pagefind.install https://example.com/path/to/pagefind_extended-v1.3.0-aarch64-unknown-linux-musl.tar.gz
Note: Make sure to use archived and compressed version of the
pagefind_extended
binary.
Options
* `--if-missing` - install only if the given version does not exist