Autoupdater
Find out how to update SnailyCADv4 automatically when using the standalone or autoinstaller method.
warning
This method can only be used for Standalone or autoinstaller installations. How to update Docker installations
1. Shut down SnailyCAD
First, shut down your SnailyCAD instance:
- Terminal/Command Prompt
- pm2
If you are running SnailyCAD in the foreground in a Terminal or Command Prompt. Simply press ctrl + C
to stop your SnailyCAD instance.
If you are running SnailyCAD with Docker, you can run the following command to start SnailyCAD:
pm2 stop all
2. Run the autoupdater
warning
- If there are things that need to be updated in the
.env
file. Please update this before running the command. - Make sure that you're in the root of your SnailyCAD instance folder.
Simply run the command below. This will run all the commands of the manual way.
curl https://raw.githubusercontent.com/SnailyCAD/autoupdater/main/dist/index.js > autoupdater.mjs
node autoupdater.mjs
3. Start SnailyCAD
To bring the CAD back up run the following command:
pnpm run start