my library install
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.
Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
name | Library name from the registry (slug or owner/slug) (required) |
| Flag | Description |
|---|---|
--profile <slug> | Install into a specific profile instead of the active one |
Examples
Section titled “Examples”# Install into the active profilemy library install kubernetes
# Install a specific owner's librarymy library install acme/deploy-tools
# Install into a different profile via flagmy library install kubernetes --profile work
# Or via env varMY_PROFILE=ci my library install kubernetesBehavior
Section titled “Behavior”- Looks the library up in the public registry.
- Resolves the target profile:
--profileflag >MY_PROFILE> active profile in~/.my/config.json>default. - Calls
POST /v1/profiles/{profile}/librarieson the server. - Syncs that profile’s catalog so commands appear under
my <library> <slug>.