Commands
Inside a site, run commands through the site command, ./inkstead-writer. It keeps the site on the Inkstead Writer version recorded in inkstead-writer.json. The globally installed inkstead-writer is mainly for creating sites and managing cached binaries.
Writing
new post— create an article or note with the right filename and frontmatter. Options:--kind article|note,--title,--text.dev— build the site, serve it locally, and reload the browser on changes. Use--portto change the port. See Getting Started.
Building And Publishing
build— build the static site into the output folder,distby default.deploy— deploy an already-built site to the configured target. See Deployment.publish— build, deploy, syndicate, then rebuild and redeploy if syndication added links.syndicate— publish pending posts to configured syndication providers without deploying. See Syndication.
Checks
doctor— check config, content, publishing setup, and required environment variables.requirements— print the environment variable names your publishing and syndication setup needs.
Themes
theme eject— copy the default templates into your theme folder.--forceoverwrites existing files.theme check— check templates without building the site.theme format— format templates.--checkreports differences without writing.theme language-server— run the Plume language server for editor integrations.
See Themes for details.
Maintenance
update— update the site to the latest Inkstead Writer release.--checkonly reports,--dry-runpreviews the migration.migrate— apply migrations for the version already recorded in the site.cache listandcache clean— inspect or prune downloaded binaries.cache clean --dry-runpreviews.version— print the Inkstead Writer version.
See Updating And Migrating for how versions and migrations fit together.
Creating Sites
init— create a new site interactively. Runinkstead-writer init --helpto see the non-interactive options for publishing, CI, syndication, and app connection setup.