You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

installation.md 2.1KB

7 years ago
7 years ago
6 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. +++
  2. title = "Installation"
  3. weight = 1
  4. +++
  5. Zola provides pre-built binaries for MacOS, Linux and Windows on the
  6. [GitHub release page](https://github.com/getzola/zola/releases).
  7. ### macOS
  8. Zola is available on [Brew](https://brew.sh):
  9. ```bash
  10. $ brew install zola
  11. ```
  12. ## Linux
  13. ### Arch Linux
  14. Use your favourite AUR helper to install the `zola-bin` package.
  15. ```bash
  16. $ yay -S zola-bin
  17. ```
  18. ### Snapcraft
  19. Zola is available on snapcraft:
  20. ```bash
  21. $ snap install --edge --classic zola
  22. ```
  23. ## Windows
  24. Zola is available on [Scoop](http://scoop.sh):
  25. ```bash
  26. $ scoop install zola
  27. ```
  28. And [Chocolatey](https://chocolatey.org/):
  29. ```bash
  30. $ choco install zola
  31. ```
  32. ## From source
  33. To build it from source, you will need to have Git, [Rust (at least 1.28) and Cargo](https://www.rust-lang.org/)
  34. installed. You will also need additional dependencies to compile [libsass](https://github.com/sass/libsass):
  35. - OSX, Linux and other Unix: `make` (`gmake` on BSDs), `g++`, `libssl-dev`
  36. - Windows (a bit trickier): updated `MSVC` and overall updated VS installation
  37. From a terminal, you can now run the following command:
  38. ```bash
  39. $ cargo build --release
  40. ```
  41. The binary will be available in the `target/release` folder. You can move it in your `$PATH` to have the
  42. `zola` command available globally or in a directory if you want for example to have the binary in the
  43. same repository as the site.
  44. ## Older versions (Gutenberg)
  45. Before 0.5, Zola was called Gutenberg. Since the process of updating package managers to Zola is on-going, you can still
  46. download previous versions of Gutenberg on your package manager of choice in the meantime.
  47. ### macOS
  48. Gutenberg is available on [Brew](https://brew.sh):
  49. ```bash
  50. $ brew install gutenberg
  51. ```
  52. ### Windows
  53. Gutenberg is available on [Scoop](http://scoop.sh):
  54. ```bash
  55. $ scoop install gutenberg
  56. ```
  57. And [Chocolatey](https://chocolatey.org/):
  58. ```bash
  59. $ choco install gutenberg
  60. ```
  61. ### Arch Linux
  62. Use your favourite AUR helper to install the `gutenberg-bin` package.
  63. ```bash
  64. $ yaourt -S gutenberg-bin
  65. ```
  66. ### Void Linux
  67. From the terminal, run the following command:
  68. ```bash
  69. $ xbps-install -S gutenberg
  70. ```