Skip to content

apkg remove

The remove command removes a package from apkg.json and deletes its installed files from apkg_packages/. It also cleans up any tool configuration files that were generated during setup (e.g. files in .claude/skills/ or .claude/agents/).

Terminal window
apkg remove <package>
ArgumentDescription
<package>The name of the package to remove (e.g. @acme/code-reviewer)
  1. Removes the package entry from dependencies in apkg.json.
  2. Deletes the installed files from apkg_packages/<package>/.
  3. Removes any generated tool-setup files (e.g. .claude/skills/ and .claude/agents/ configs for the package).
  4. Cleans up empty parent directories left behind by scoped packages.

The command fails if the package is not found in your dependencies.

Remove a package:

Terminal window
apkg remove @acme/code-reviewer
CommandDescription
addAdd a package to dependencies
installInstall all dependencies from apkg.json
updateUpdate packages to latest compatible versions