01. Getting started - intersystems/ipm GitHub Wiki
- 
Go to the latest release and download the XML file. 
- 
Import it into IRIS and compile via any desired way (Management Portal, Studio or Terminal) 
If you are working with InterSystems IRIS Community Edition in Docker, you can use Docker Images, which already include IPM instead of step 1 and 2.
- Check that calling zpmin the command line results in the following
    USER>zpm
    =============================================================================
    || Welcome to the Package Manager Shell (ZPM).                             ||
    || Enter q/quit to exit the shell. Enter ?/help to view available commands ||
    =============================================================================
    zpm:USER>
Prior to IPM 0.9.0, this would automatically be available in all namespaces. To make IPM available in all namespaces as of 0.9.0, run:
zpm "enable -map -globally"
(3.1). After version 0.9.2, you can also call
zpm "enable -community"
This will reset the zpm installation to the community repository and map IPM to all namespaces. If using this method, you can update zpm to newer version by running
zpm "reinstall zpm"
- To get the list of all available modules use search command
    zpm: USER>search
    registry https://pm.community.intersystems.com:
    analyzethis 1.1.4
    dsw 2.1.41
    objectscript-package-template 1.0.3
The Registry pm.community.intersystems.com is used by default.
- Install a module using install command:
    zpm: USER>install objectscript-package-template
or
    zpm: USER>install objectscript-package-template -v
Key -v (-verbose) produces verbose output from the command.
Updating IPM
To update IPM to a newer version, you can just grab a newer release from latest release, and follow the same procedure as a new install
If you have enabled ipm globally using -zpm "enable -map -globally"-, then this newer version will automatically be used in the rest of the namespaces on your instance as well.
If you are using the community version of ipm, then all you have to do is run
zpm "reinstall zpm" 
to get the newest version!
Setting up an ORAS repository
Note: this requires a Python version >= 3.10.0 and <3.13.0
As of version 0.10.0, IPM supports OCI repositories through ORAS, which allows use of industry-standard registries like Docker Hub, AWS ECS, Artifactory, and Azure Artifacts. To configure an OCI registry in IPM, run zpm repo, select the ORAS option, and then provide a name and URL for the registry. Alternatively, a one liner can be used:
zpm repo -o -name <registry-name> -url <registry-url>
Authorization credentials can be provided in the same way as an HTTPS repository: with -username, -password, and -token.
Updating an installed module?
See Updating an IPM Module (IPM v0.11.0+) for zpm "update" usage and how to add update steps to your module.