2
0
Fork
You've already forked init
0
Tool to init & upgrade Lume projects
  • TypeScript 100%
2026年07月03日 18:07:13 +02:00
.github/workflows mirror to codeberg 2026年06月22日 00:12:30 +02:00
steps new version 2026年07月03日 18:07:13 +02:00
CHANGELOG.md new version 2026年07月03日 18:07:13 +02:00
deno.json check Deno version 2024年05月09日 14:44:52 +02:00
deps.ts new version 2026年06月18日 00:30:46 +02:00
init.ts new version 2026年06月18日 00:30:46 +02:00
mod.ts update 2025年10月05日 14:48:58 +02:00
README.md updated docs 2025年01月06日 21:02:42 +01:00
upgrade.ts new version 2026年06月18日 00:30:46 +02:00

Lume init

Script to initialize a Lume project.

Usage

Init Lume in the current directory:

deno run -A mod.ts

Use the first argument to change the destination folder. For example, to init Lume in the directory my-site:

deno run -A mod.ts my-site

Options

--src: Configure the src folder of Lume. For example, to configure the src folder to /src:

deno run -A mod.ts --src=/src

--theme: Install directly a theme without asking. For example, to install simple-blog theme:

deno run -A mod.ts --theme=simple-blog

--plugins: Install directly some plugins without asking. For example, to install postcss and nunjucks plugins:

deno run -A mod.ts --plugins=postcss,nunjucks

--javascript: Create _config.js instead of _config.ts file. For example:

deno run -A mod.ts --javascript

--cms: Creates the _cms.ts file directly without asking. Use --no-cms to don't create it.

Run from lume.land

The website https://lume.land/init.ts redirects automatically to the latest version of lume_init. For example:

deno run -A https://lume.land/init.ts
# is equivalent to:
deno run -Ar https://deno.land/x/lume_init/mod.ts

Upgrade

The upgrade.ts script upgrades an existing Lume site to the latest version.

Options

--version: To upgrade to a specific Lume version, instead of the latest:

deno run -A upgrade.ts --version=2.1.0

--dev: To upgrade to the latest development version (the most recent commit of the Git repo):

deno run -A upgrade.ts --dev

Use --version combined with --dev to specify a branch. For example, to install the latest commit of the v3-dev branch:

deno run -A upgrade.ts --dev --version=v3-dev