inertia start
Getting Started

Updating

Pull the latest Inertia Start release into your existing application.

Inertia Start is a starter kit, not a dependency: once your project is created, the code is yours, and you are free to modify any part of it. Updates are therefore not installed by a package manager, they are merged into your own Git history.

Updating an existing v2 project

This workflow applies to projects that started on v2. Version 2 uses a fresh schema and has no supported in-place upgrade from either v1 variant. For existing v1 projects, see Updating v1.

You need a shared Git history

This guide assumes you cloned the repository. If you started from a downloaded release ZIP, your project shares no history with Inertia Start and Git has nothing to merge. In that case, clone the repository and copy your customizations over, or compare the two versions manually.

Updating requires an active license: the repository is served behind your API key and access is checked on every fetch. If your license expires, the code you already have keeps working, but you can no longer fetch new releases until you renew it.

Update with an AI Agent

Added in v2.5.1

The recommended way to update is to let your AI coding agent do it. Inertia Start ships an updating-inertia-start skill that runs the whole manual process for you, from the fetch to a tested application, and resolves the conflicts with your customizations along the way.

Ask your agent for the latest version, or for a given one:

Update Inertia Start to the latest version
Update Inertia Start to v2.4.0

In Claude Code, you can also run the skill directly with /updating-inertia-start.

The agent then:

  • checks that your working tree is clean and finds the Inertia Start remote. If the remote is missing, it gives you the command to add it, so that your API key never goes through the conversation.
  • fetches the new release, finds the version your project is on, and refuses unsupported jumps, like moving a v1 project to v2.
  • summarizes the releases you are about to merge, their breaking changes, and the files likely to conflict.
  • merges the release into your branch with --no-ff.
  • resolves the conflicts by keeping both your customizations and the changes of Inertia Start, and asks you when a conflict needs a decision from you.
  • installs the dependencies, runs the new migrations on your local database, applies the manual steps of each release's upgrade guide, builds the assets and runs your checks.
  • reports what it did and what is left to you, like the new environment variables to set in each environment.

Nothing is pushed

The update stays on your machine. Review the merge commit and the fixes the agent left uncommitted, then push when you are happy with them. Until you push, the commit the agent gives you in its report lets you undo the whole update.

Install the Skill

The skill lives in .ai/skills/updating-inertia-start, and Laravel Boost installs it for your coding agent along with the other skills: run php artisan boost:install if you haven't set up Boost yet, or php artisan boost:update otherwise.

If your project is older than v2.5.1, it doesn't have the skill yet. Copy it from the Inertia Start remote and commit it, because the agent only updates a clean working tree:

git fetch inertia-start
git checkout inertia-start/main -- .ai/skills/updating-inertia-start
git commit -m "Add the Inertia Start update skill"
php artisan boost:update

The update then brings the same file, so it causes no conflict.

Manual Update

Prefer to update by hand? These are the steps the skill follows.

Add the Inertia Start Remote

If you followed the installation guide, the Inertia Start repository is already configured as the inertia-start remote and you can skip this step. Otherwise, add it now:

# We name the remote `inertia-start` in this example, but you can name it as you like
git remote add inertia-start https://[email protected]/git/inertia-start.git

Rotating your API key

The key is stored in plaintext in .git/config. If you revoke it or create a new one, point the remote to the new key:

git remote set-url inertia-start https://[email protected]/git/inertia-start.git

Fetch the Latest Code

Fetch the branches and the release tags:

git fetch inertia-start --tags

Nothing in your project changes yet: fetching only downloads the new commits.

Choose a Version

List the versions you just fetched:

git tag -l 'v2.*'

Choose a v2 tag from the list.

The changelog of every release is also available on the Inertia Start product page of your account. Read it before updating: it lists the breaking changes and the manual steps a release may require.

Merge the Update

Check out the branch your project lives on, then merge the version you picked:

git checkout main # or whichever branch your project lives on

# Example version. Replace it with a v2 tag from the list.
git merge --no-ff refs/tags/v2.0.0

Merging like this:

  • retains the original commits and timestamps from both the remote and your own branch
  • keeps your branch history intact
  • creates a merge commit even when a fast-forward would be possible (thanks to --no-ff), which makes it easy to see later when each update was merged

Resolve Conflicts

Git will report a conflict for every file you customized that also changed upstream. Resolve them, then commit the merge:

git status
# edit the conflicting files
git add .
git commit

Conflicts are much easier to handle when your own code lives in its own files. Adding new components, routes or config entries rarely conflicts, whereas rewriting the files shipped by the starter kit does.

Apply the Update

A new version usually brings new dependencies, migrations and assets. Install and rebuild everything:

composer install
npm install
php artisan migrate
npm run build

In development, composer run dev rebuilds the assets for you, so npm run build is only needed for production.

Finally, run your test suite and go through the changelog once more for the manual steps the release may require.

Staying Up to Date

Merging often is easier than merging rarely: each update is smaller, and so is the set of conflicts. Updating one release at a time, rather than jumping several versions at once, keeps the changelog relevant and the conflicts readable.

On this page