Update Core Modules
Pull the latest changes from gon-core into your project. Core modules include Auth, Users, Content, Deployment, Frontend, and 25+ other shared modules.
1. Check for updates
gon update --dry-run
Shows both core and business module updates without applying them. Core changes are listed with A (added), M (modified), D (deleted) markers.
2. Apply updates
gon update
Checks gon-core for new commits, shows a diff summary, and asks for confirmation before applying. After confirming, files are synced and gon.lock is updated with the new core commit SHA.
What gets updated
- Core modules —
src/{Module}/for all core modules - Shared config —
config/,routes/,database/ - Shared resources —
resources/lang/,resources/views/ - Root files —
composer.json,package.json,vite.config.mts, etc.
What is NOT touched
config/modules-available.php— generated bygon install.env— project-specific environmentresources/themes/— managed by theme reposvendor/,node_modules/,storage/— runtime directoriespublic/build/,bootstrap/cache/— build artifacts
After updating
Run composer install and yarn install if composer.json or package.json changed. Then restart your dev environment:
gon down && gon up