Self Host: update to the latest version
Hello there!
What's the procedure to update Typebot to the latest version in a self host environment (manual)?
6 Replies
Are you using docker ?
No, i did the manual installation
https://docs.typebot.io/self-hosting/deploy/manual
this already use latest version

Yes, but I've installed Typebot over a month ago. Now I would like to update to the latest version.
To update your Node.js application that's being managed by PM2 and hosted on a GitHub repository, follow these steps:
1. Navigate to your application's directory:
Open a terminal and go to the directory where your Node.js application is located.
2. Optionally stop the PM2 process:
You might want to stop your application before updating it to prevent any issues.
Replace
app_name_or_id
with the name or ID of your app's process in PM2.
3. Pull the latest changes from GitHub:
Make sure you're on the right branch and then update your local code with the changes from GitHub.
4. Install any new dependencies:
If the package.json
has been updated with new dependencies, you need to install them.
5. Rebuild your application (if required):
If your application needs a build step, run the necessary command to build it.
6. Restart your application with PM2:
Once everything is updated and built, you can restart your Node.js application with PM2.
That's it! Your Node.js app should now be updated to the latest version from the GitHub repository and running with the new changes.You are a star! Thank you so much 🙏