Start
Installation
Requirements, installing the arcm command and checking that it works.
Requirements
- Node.js 22.12 or newer. Check with
node -v. - npm, pnpm, bun or yarn. npm comes with Node.js.
Install the command
Use this to run arcm from any folder:
npm install -g arcmoonpnpm add -g arcmoonbun add -g arcmoonyarn global add arcmoonarcm and arcmoon are the same command.
Install in one project
Use this to keep the version with the project, so everyone who works on it builds with the same one:
npm install arcmoonpnpm add arcmoonbun add arcmoonyarn add arcmoonThen run it with npx arcm, or from a script in package.json:
{
"scripts": {
"build": "arcm build pages"
}
}Check that it works
arcm -v
1.1.0Then build a one-line page and print it:
echo "[p]Hello[end]" > hello.arcm
arcm build hello.arcm -p
<p>Hello</p>Update
npm install -g arcmoon@latest # the command
npm install arcmoon@latest # in a projectEditor support
Install ArcMoon Language for VS Code: highlighting, errors and completion in .arcm files.