Titan Planet Logo
How to Use Titan

11. Engine Updates

How to update the Titan CLI and your project to the latest version.

Update to the latest version

Keeping Titan up to date involves two simple steps:

Update the global Titan CLI to the latest version:

npm install -g @titanpl/cli@latest

This ensures you are using the newest commands, bundlers, and tooling.

Inside your Titan project directory, run:

titan update

The titan update command will:

  • Update internal Titan files
  • Add newly introduced features
  • Apply required migrations automatically
  • Keep your existing app code intact

You do not need to recreate your project.

When should you run titan update?

  • After installing a new Titan CLI version
  • When new framework features are released
  • If the docs mention an update step

Tip: Always update the CLI first, then run titan update inside your project.


Manual Engine Updates

If required, you can manually download and lock your system-specific Titan Engine. This is especially useful for ensuring production stability across different environments.

Add the following to your package.json to lock specific engine versions:

"optionalDependencies": {
  "@titanpl/engine-linux-x64": "6.0.1",
  "@titanpl/engine-win32-x64": "6.0.1"
}

Note: This manual configuration will be automatically resolved and handled by the CLI in the next stable update.

On this page