Update Laravel Boost after you upgrade

boost:update rewrites the agent guidelines for the versions you installed. Boost is not an npm package.

For your AI agent

Copies a prompt. Paste it into the AI agent you already have open.

Read https://laravel-vuejs.space/laravel-boost-update-vue.md
boost:update rewrites the agent guidelines for the versions you installed. Boost is not an npm package.
Do not hand-edit a paragraph you need to keep inside a file the next update overwrites.
Do not put a provider API key in boost.json.
Do not add Vue Router or Ziggy because an old guideline mentioned them.
Show the diff. Do not commit.
On this page · 3 sections
  1. The fix
  2. What to avoid
  3. FAQ

People searching “Laravel Boost update” run npm update and expect the Vue guidelines to change. Boost is a Composer dev dependency. The Boost guide is the install. This page is the command after you bump Inertia or Laravel.

TL;DR

  • boost:update rewrites the agent guidelines for the versions you installed.
  • Boost is not an npm package.
  • Do not hand-edit a paragraph you need to keep inside a file the next update overwrites.
  • Do not put a provider API key in boost.json.

Who it's for: Laravel + Vue developers

Applies to: Laravel 13 · Vue 3

The fix#

shell
composer require laravel/boost --dev
php artisan boost:update

boost:install is the first time. boost:update refreshes the guideline files and the MCP config for the packages now in composer.json. Restart the coding agent after it runs so the agent reads the new files.

The docs say those generated files can be gitignored, because the commands rewrite them. Do not hand-edit a paragraph you need to keep inside a file the next update overwrites. Put a project rule in your own file.

What to avoid#

Gotcha

Do not put a provider API key in boost.json. Do not add Vue Router or Ziggy because an old guideline mentioned them. The stack guide is the current choice.

FAQ#

How do I update Laravel Boost after you upgrade?

boost:update rewrites the agent guidelines for the versions you installed. Boost is not an npm package.

What goes wrong with Laravel Boost update?

Many developers run npm update and expect the Vue guidelines to change. Do not hand-edit a paragraph you need to keep inside a file the next update overwrites.

Found this useful?

Ask questions, share what you built.

Join thousands of Laravel and Vue developers in our Facebook group, or get new posts in your Telegram feed. Sharing this article helps too.

Keep reading

Newsletter

Get the best of Laravel & Vue, once a month.

One short email with new guides, release notes worth reading and hand-picked community links. No spam, unsubscribe any time.