metabot CLI¶
The metabot command manages the MetaBot service lifecycle.
Installation¶
Installed automatically by the MetaBot installer to ~/.local/bin/metabot.
Commands¶
metabot update # pull latest code, rebuild, restart
metabot start # start with PM2
metabot stop # stop
metabot restart # restart
metabot logs # view live logs
metabot status # PM2 process status
Update¶
metabot update is the recommended way to update MetaBot. It performs:
git pull— fetch latest codenpm install && npm run build— rebuildpm2 restart— restart the service
All in one command.