Skip to content

my library install

Terminal window
my library install <name>

Adds a library from the public registry to your active profile on the server, then syncs the catalog so its commands are available locally.

ArgumentDescription
nameLibrary name from the registry (slug or owner/slug) (required)
FlagDescription
--profile <slug>Install into a specific profile instead of the active one
Terminal window
# Install into the active profile
my library install kubernetes
# Install a specific owner's library
my library install acme/deploy-tools
# Install into a different profile via flag
my library install kubernetes --profile work
# Or via env var
MY_PROFILE=ci my library install kubernetes
  1. Looks the library up in the public registry.
  2. Resolves the target profile: --profile flag > MY_PROFILE > active profile in ~/.my/config.json > default.
  3. Calls POST /v1/profiles/{profile}/libraries on the server.
  4. Syncs that profile’s catalog so commands appear under my <library> <slug>.