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/).
Synopsis
Section titled “Synopsis”apkg remove <package>Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
<package> | The name of the package to remove (e.g. @acme/code-reviewer) |
What it does
Section titled “What it does”- Removes the package entry from
dependenciesinapkg.json. - Deletes the installed files from
apkg_packages/<package>/. - Removes any generated tool-setup files (e.g.
.claude/skills/and.claude/agents/configs for the package). - Cleans up empty parent directories left behind by scoped packages.
The command fails if the package is not found in your dependencies.
Examples
Section titled “Examples”Remove a package:
apkg remove @acme/code-reviewerRelated commands
Section titled “Related commands”| Command | Description |
|---|---|
add | Add a package to dependencies |
install | Install all dependencies from apkg.json |
update | Update packages to latest compatible versions |