Skip to content

Cheatsheet

Every command, one page. Printable, and generated from the same source as the full reference pages.

polyforge

polyforge statusShow every declared tool and its resolved version.
polyforge installInstall the full declared toolchain.
polyforge create LANG NAMEScaffold a new project at Workspace/<Lang>/<name>.
polyforge updateUpgrade every tool to the latest version matching its constraint.
polyforge clean [--all]Remove .cache. With --all, also run mise implode.
polyforge doctorHealth check the workspace.
polyforge activateRe-run the trust handshake and shell registration.
polyforge publishPush the current project to GitHub and register it as a portfolio.
polyforge get NAME|allRestore registered portfolio projects into Workspace/<Lang>/.
polyforge helpList every command.

learn

learn init LANGScaffold the tiered curriculum for a language.
learn LANG TOPICCreate the next day for a topic. Auto-initialises the track if new.
learn LANG next TOPICExplicit next day — works from any directory.
learn LANG dayN TOPICCreate one specific day, zero-padded.
learn next TOPICNext day for the track you are standing in.
learn list LANGShow progress and what `next` would create.
learn publish LANGPush a track to GitHub and register it.
learn get LANG|allRestore registered tracks into Dev/Learn/.
learn helpList every command.

forge

forge new NAME "DESCRIPTION"Scaffold a blank template, create its private repo, and register it.
forge listNumbered list with descriptions and local/remote status.
forge get NAME|allClone registered templates back onto this machine.
forge remove NAMEDelete the local copy. The GitHub repo and registry entry are kept.
forge helpList every command.

New machine

Terminal window
git clone git@github.com:rizaldevv/polyforge.git
cd polyforge
.\polyforge.ps1 activate # ./polyforge.sh activate on POSIX
polyforge install
polyforge get all; learn get all; forge get all

New work

Terminal window
polyforge create Python wall-extraction # or: forge get my-template
# ... work ...
polyforge publish # then commit polyforge.registry.toml