Skip to content

Install the CLI ​

alta creates, checks and previews your packs. It is not on npm yet: you install it from the Alta OS repository, which also holds the game that alta dev serves.

Before you begin 1 minute

  • Node 20 or later (node --version).
  • git.

Install ​

Terminal
sh
git clone https://github.com/alta-system-os/alta-os.git
cd alta-os
npm install
npm install --global ./tools/cli

The last line puts an alta command on your path. It points at this folder: keep the folder, and git pull in it to update alta.

Check it works ​

Terminal
sh
alta help

You should see the list of commands: new, check, pack, dev, publish, schemas. Then go to the Quickstart.

Without a global install ​

If you cannot install globally (no rights on the npm folder, a shared machine), run alta from the repository folder through npm. Every command of these docs works the same way, with npm run alta -- in front:

Terminal
sh
npm run alta -- new quest-pack my-first-pack
npm run alta -- check my-first-pack

From npm ​

Uninstall ​

Terminal
sh
npm uninstall --global @altasystem/cli

What's next

Alta OS is open source (MIT).