Quick Start
Published on 2024-04-28
Installation
Download a prebuilt binary for your platform from the latest release:
MacOS
brew install anna-ssg/anna/anna
GNU/Linux (tar.gz):
- Linux (x86_64): anna_Linux_x86_64.tar.gz
tar -xzf anna_Linux_x86_64.tar.gz./anna
Windows 10/11 (x86_64):
- Download anna_Windows_x86_64.zip
- Unzip
anna_Windows_*.zip- Run
anna.exefrom the extracted folder in a terminal
Bootstrap (create a site/ directory)
If you don't already have a site/ directory, Anna can initialize one for you with a default layout.
# will ask to download the default site layout when config is missing
./anna
Usage
Basic render
Render the site found at site/ (default):
anna
Specify a path:
anna -p ./site
Serve with live reload
anna -s
Version and debug
Show the version (includes embedded commit when present):
anna -v
Show usage and all flags:
anna -h
