Development channels
Last updated: 2026-01-21 crocbot ships three update channels:- stable: npm dist-tag
latest. - beta: npm dist-tag
beta(builds under test). - dev: moving head of
main(git). npm dist-tag:dev(when published).
latest
without changing the version number — dist-tags are the source of truth for npm installs.
Switching channels
Git checkout:stable/betacheck out the latest matching tag (often the same tag).devswitches tomainand rebases on the upstream.
latest, beta, dev).
When you explicitly switch channels with --channel, crocbot also aligns
the install method:
devensures a git checkout (default~/crocbot, override withCROCBOT_GIT_DIR), updates it, and installs the global CLI from that checkout.stable/betainstalls from npm using the matching dist-tag.
Plugins and channels
When you switch channels withcrocbot update, crocbot also syncs plugin sources:
devprefers plugin sources from the git checkout (localextensions/orplugins.load.paths).stableandbetarestore npm-installed plugin packages.
Tagging best practices
- Tag releases you want git checkouts to land on (
vYYYY.M.DorvYYYY.M.D-<patch>). - Keep tags immutable: never move or reuse a tag.
- npm dist-tags remain the source of truth for npm installs:
latest→ stablebeta→ candidate builddev→ main snapshot (optional)
