Uninstall kirbyup

I followed the Plugin setup for Panel plugins and accidentally installed kirbyup globally (macOS). I could not find any information about it. Now, I have the following files in my root user folder:

  • package-lock.json
  • package.json

How can I uninstall all kirbyup files? And where should I install kirbyup generally?

To remove the globally installed kirbyup and clean up those files:

# Uninstall kirbyup globally
npm uninstall -g kirbyup

# Remove the package files from your home directory
cd ~
rm package.json package-lock.json

# Optional: Check if node_modules was created and remove it
rm -rf node_modules

Correct kirbyup Installation

kirbyup should be installed locally within your plugin directory, not globally. Here’s the proper setup:

Navigate to your plugin folder and install kirbyup

cd site/plugins/your-plugin-name
npm install kirbyup
1 Like

Thank you very much! This is a very important information I did not get before. Great!