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.

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

The recommended way to update is to let your AI coding agent do it. Inertia Start provides 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 v1.6.0

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

The skill knows whether your project is on the Standard or the Teams variant: it merges the teams branch and the -teams tags into Teams projects, and keeps your project on v1, since version 2 has no in-place upgrade from v1.

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 and finds the version and the variant your project is on.
  • 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 v1 releases don't include the skill: copy it from the Inertia Start remote and commit it, because the agent only updates a clean working tree. Laravel Boost then installs it for your coding agent:

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

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 'v*'

Each variant has its own tags. Teams releases carry a -teams suffix:

VariantBranchTags
Standardmainv1.0.0
Teamsteamsv1.0.0-teams

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

# Update to a specific version (for example 1.0.0):
git merge --no-ff refs/tags/v1.0.0

# Or retrieve all changes to date:
git merge --no-ff inertia-start/main

Teams projects need the `-teams` tags

The teams branch is built on top of main, which means plain vX.Y.Z tags are already part of its history. Merging v1.0.0 into a Teams project silently does nothing: always merge v1.0.0-teams.

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