How to install Zola binary in netlify build

Sorry if this is answered somewhere else, but I can’t seem to figure out how to install Linux packages during a netlify build. Specifically, I am trying to use zola, which is written in rust, so I can’t use pip, ruby gems, or npm.

I followed the instructions here and it appears to work, but I don’t understand why.

Is the ZOLA_VERSION environment variable treated specially by Netlify? If so, maybe it should be documented on the configuration variables documentation section:

Hey @danny-andrews,
Looks like someone opened a PR to achieve that last year:

If you wanted to open a PR for the “included software” docs in our build image, I’m sure the team would appreciate it!


Thanks, Jen!

1 Like

Ahmazing, thank you so much!!!