Skip to main content

Standalone

Find out how to update SnailyCADv4 manually when using the standalone installation method.

1. Shut down SnailyCAD

First, shut down your SnailyCAD instance:

If you are running SnailyCAD in the foreground in a Terminal or Command Prompt. Simply press ctrl + C to stop your SnailyCAD instance.

2. Update local code

First we must update our local code:

git pull origin main
warning

If you encounter any merge conflicts, please resolve them before continuing.

This can be done by backing up any locale changes you've made including apps/client/i18n.config.mjs. Then you can safely run the following command:

git stash && git pull origin main

3. Update dependencies

Secondly, we must update dependencies that might've changes from the last release. To do so, run the following command:

pnpm install

4. Configuration

If there's something that needs to be changed in the .env file, make sure to do that properly. View the guide here

5. Rebuild everything

Now we must build all the packages & apps again. (client, schemas, config, types)

pnpm run build

6. Start SnailyCAD

To bring the CAD back up run the following command:

pnpm run start

Was this page helpful?