Installation
Install Folio and start the CLI.
Install Folio
uv tool install folio-docsDependency note: Folio uses Python 3.10+ for the CLI, and also depends on Node.js 20.19+ and pnpm 10 for folio build and folio serve. Use Corepack to activate pnpm 10:
corepack prepare pnpm@10 --activateThen verify the CLI:
folio --versionStandalone Installer
The standalone installer requires uv, installs the folio-docs distribution as
a uv tool, checks Node.js 20.19+, and tries to activate pnpm 10 through
Corepack when it can.
Inspect the script before running it:
curl -LsSf https://raw.githubusercontent.com/pguijas/folio/main/install.sh | less
curl -LsSf -o install-folio.sh https://raw.githubusercontent.com/pguijas/folio/main/install.sh
sh install-folio.shInstall a specific Folio version:
FOLIO_VERSION=0.1.0 sh install-folio.shSkip automatic pnpm setup when you only want the Python CLI:
FOLIO_SKIP_PNPM_SETUP=1 sh install-folio.shOther Install Methods
uv add folio-docsuv tool install folio-docspython3 -m venv .venv
source .venv/bin/activate
pip install folio-docsUse uv add folio-docs inside a Python project. Use uv tool install folio-docs when you want the folio command available outside a project.
For Developers
Use the repository setup when you are working on Folio itself:
git clone https://github.com/pguijas/folio.git
cd folio
uv sync
cd template
pnpm install --frozen-lockfile
cd ..
uv run folio builduv sync installs Folio and its Python development dependencies from uv.lock. The template has its own pnpm-lock.yaml, so install the frontend dependencies from template/ before running template-specific commands.
Run the test suite from the repository root:
uv run pytest tests/ -qFor UI work, run Folio’s dev server from the repository root:
uv run folio serveNext Steps
Once Folio is installed, head to the Quick Start guide to build your first documentation site.