Skip to content

Upgrading

Upgrade to the latest version:

# Upgrade erii
npm update erii-bot

# Reload configuration and plugins
npx erii reload
After upgrading

It is recommended to run erii reload after upgrading to reload all plugin configurations and refresh the configuration cache. If the upgrade involves database schema changes, you will need to restart the server.

Uninstalling

npm uninstall -g erii-bot
npm uninstall erii-bot

If the project was created with npm create erii-bot, simply delete the project directory (erii is the default name; replace with your actual directory name):

rm -rf erii

After uninstalling, the following data will remain in the project directory (delete manually if no longer needed):

  • store/ — Database files
  • logs/ — Log files