Skip to content

my library uninstall

Terminal window
my library uninstall <name>

Removes a library from your active profile on the server and from the local registry. Commands in the library are no longer available as my <library> <slug>.

ArgumentDescription
nameName of the library to uninstall (required)
FlagDescription
--profile <slug>Remove from a specific profile instead of the active one
Terminal window
my library uninstall kubernetes
# Remove from a specific profile via flag
my library uninstall kubernetes --profile work
# Or via env var
MY_PROFILE=ci my library uninstall custom-tools
  • Resolves the target profile: --profile flag > MY_PROFILE > active profile in ~/.my/config.json > default.
  • Calls DELETE /v1/profiles/{profile}/libraries/{owner}/{slug} on the server.
  • Removes the local registry entry under ~/.my/sources/sources.json.
  • The library remains installed in any other profile that has it; only the targeted profile is affected.