# lfm > lfm is a free landing page generator CLI and static landing page compiler for coding agents. It compiles a template, config and assets into a checked static output/ folder. Version: 0.2.10. Updated: 2026-12-02. License: MIT. Language: Go. This reference is derived from the lfm README, installation script, authoring and compiling documentation, and installed 0.2.10 CLI help. lfm is for individual landing and sales pages. Your coding agent researches buyers, records sources in research/, writes concept.md and implements the page. The compiler checks the handovers and page quality. It supplies no traffic, hosting, application backend or ranking guarantee. A site with many routes, a blog or documentation usually calls for a general site generator. ## Install Linux or macOS, amd64 or arm64: ```sh curl -fsSL https://lfm.cash/install.sh | sh lfm version ``` The installer checks the downloaded archive against release checksums and installs to ~/.local/bin without sudo. Add that directory to PATH if necessary. LFM_VERSION selects a release tag; LFM_INSTALL_DIR selects the destination. For example: ```sh curl -fsSL https://lfm.cash/install.sh | LFM_VERSION=v0.2.10 sh ``` Alternatives documented in the README: ```sh brew install anonyfox/tap/lfm ``` With Go 1.26 or newer: ```sh go install github.com/Anonyfox/lfm/cmd/lfm@latest ``` There are no Windows release binaries in the release configuration. The published page needs only static hosting. The compiler binary needs no Node.js runtime. Chrome or Chromium and Lighthouse are optional tools for release audits. Missing tools are reported and skipped, never installed by lfm. ## Agent workflow Read [SKILL.md](https://lfm.cash/SKILL.md). A request can be: > Make a landing page for my sourdough course with lfm: https://lfm.cash/SKILL.md Create a project and install its process skills: ```sh lfm init sourdough-course cd sourdough-course lfm skills install lfm compile ``` The starter compiles; a finished product page still needs research, design, implementation and review. The three phases are: - Research: collect dated buyer voices and competitor pages into research/. - Design: write concept.md with source citations, buyer, mechanism, palette, type, imagery, motion and copy. - Implementation: build the template and resolve findings. Run a release audit and review saved frames before publishing. ```sh lfm skills research lfm skills design lfm skills implementation lfm compile --json lfm compile --release ``` lfm has no MCP server. Its interface for agents is the CLI, JSON reports and plain skill files. The JSON report contains errors, warnings, validation diagnostics, next.phase, next.do, next.skill when applicable, and installed skills. Follow the report's next step. Exit 0 means output/ was written, even if warnings remain; 1 means errors kept it unchanged or the project is missing; 2 means a command-line mistake. A completed review should have no errors or warnings. Skills install into .agents/skills for Codex, Cursor, OpenCode, Gemini CLI and GitHub Copilot, or .claude/skills for Claude Code. Existing lfm skill folders are updated; otherwise Claude's environment or a project with only .claude selects that folder, with .agents as the default. Explicit choices: ```sh lfm skills install --agents lfm skills install --claude lfm skills install --global ``` After an upgrade, run skills install again. Untouched installed skills are updated; edited copies are kept unless --force is supplied. Compile never writes skills. ## Project and output A project contains lfm.json, index.html.tmpl and assets/. Research lives in research/ and design in concept.md. Public files in public/ are copied unchanged, including robots.txt, sitemap.xml and these references. Config declares the canonical HTTPS URL, language, title, description, social image, named URLs, data and JSON-LD. Templates select config values with Go template syntax. JSON-LD is emitted by the compiler from lfm.json. The compiler bundles and minifies CSS and JavaScript, packs assets, sizes images and compacts HTML. Successful compiles replace output/. Errors keep the last good output. Upload output/ to your chosen host; source and research remain in the project. lfm itself requires no account. ## Commands ```sh lfm --help lfm compile --help lfm check --help lfm init --help lfm skills --help lfm serve --help ``` - `lfm init my-page`: create a starter project. - `lfm compile`: check and build the current project. - `lfm compile --json`: return a structured report. - `lfm compile --release`: add browser optimization, runtime checks and Lighthouse when available. - `lfm check https://lfm.cash/ --json`: inspect an existing public page. - `lfm check output/ --json`: inspect built files on disk. - `lfm serve --open`: preview locally with recompilation after saves. - `lfm rules`: list every rule. - `lfm rules seo.metadata`: explain a rule and its fix. - `lfm skills`: list the process guides. - `lfm version`: show the installed version. Release checks need loopback sockets and installed browser tools. Static compile does not guarantee that release audits ran. The checks cover metadata, share previews, headings, links, structured data, controls, keyboard access, contrast, performance budgets, concept fidelity and generic design and copy patterns. They cannot guarantee sales or rankings. ## Deliverables lfm also builds files sold through the page: EPUB and print PDF books, printable PDFs, spreadsheets, editable documents, slide decks and bundles. Deliverables live in deliverables/. Their guides are available with: ```sh lfm skills book lfm skills fiction lfm skills printable lfm skills spreadsheet lfm skills document lfm skills deck ``` A release compile renders PDFs and listing images. Follow the relevant guide for its config and source layout. ## FAQ ### What is lfm? lfm is a free Go CLI that compiles a landing page template, config and assets into a checked static output/ folder. ### How do I install lfm? Run the install.sh command in the install panel on Linux or macOS. The installer verifies release checksums and installs into ~/.local/bin without sudo. ### Does lfm need Node.js or a server? The lfm binary needs no Node.js runtime. Published pages are static files; Chrome and Lighthouse are optional tools for release audits. ### Can coding agents use lfm without MCP? Yes. Coding agents read SKILL.md and run the CLI. lfm compile --json returns findings and the next phase; lfm has no MCP server. ### Where does lfm keep my project? Research, concept.md, lfm.json, templates and assets stay in your project folder. Successful compiles write output/ for you to upload to your own host; lfm requires no account. ### When should I use Astro or Hugo instead? Choose Astro or Hugo for a content site with many routes, a blog or documentation. lfm focuses on individual landing and sales pages with a research and design workflow. ### Is lfm free for commercial projects? Yes. lfm 0.2.10 is MIT licensed and has no paid tier. You provide hosting, checkout and any services your page uses. ### Does a clean compile guarantee sales or search rankings? No. lfm checks page quality, metadata and accessibility; it provides no traffic, hosting or ranking guarantee. Release audits add browser layout, runtime and Lighthouse checks. ## Sources and examples - [README](https://github.com/Anonyfox/lfm#readme) - [Authoring](https://github.com/Anonyfox/lfm/blob/main/docs/authoring.md) - [Compiling](https://github.com/Anonyfox/lfm/blob/main/docs/compiling.md) - [Checking pages](https://github.com/Anonyfox/lfm/blob/main/docs/check.md) - [Release 0.2.10](https://github.com/Anonyfox/lfm/releases/tag/v0.2.10) - [MIT license](https://github.com/Anonyfox/lfm/blob/main/LICENSE) - [Landing page and FAQ](https://lfm.cash/) - [Two product pages case study](https://lfm.cash/case-studies/two-product-pages/) - [Landing page tool comparison](https://lfm.cash/compare/): lfm, Astro, Hugo, Carrd and Framer by workflow, November 2026 pricing, checks and output ownership, with official sources.