You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-10Lines changed: 20 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -12,24 +12,34 @@ Helps to install ObjectScript classes and routines, globals, Embedded Python mod
12
12
13
13
## Installing the InterSystems Package Manager Client:
14
14
15
-
0. Use one-liner in terminal call or programmatically:
15
+
The simplest way to install the latest version of IPM is to run the following ObjectScript snippet.
16
+
17
+
_In CI/CD scripts, for deterministic behavior, replace `version="latest"` with the specific IPM version desired._
18
+
16
19
```
17
20
s version="latest" s r=##class(%Net.HttpRequest).%New(),r.Server="pm.community.intersystems.com",r.SSLConfiguration="ISC.FeatureTracker.SSL.Config" d r.Get("/packages/zpm/"_version_"/installer"),$system.OBJ.LoadStream(r.HttpResponse.Data,"c")
18
21
```
19
-
**If you want the legacy behavior of mapping IPM classes, routines, and repository settings to all namespaces, run `zpm "enable -community"` after installing IPM. See `zpm "help enable"` for details.**
20
-
**In a CI script, for deterministic behavior, you should replace version="latest" with the IPM version you wish to use.**
21
22
22
-
OR:
23
+
**IPM 0.9.0+ can be installed with different versions and registry settings per namespace, and does not have the [community package registry](https://openexchange.intersystems.com/?zpm=1) enabled by default. If you want the legacy (<=0.7.x) behavior of a system-wide installation and access to community packages in all namespaces, run `zpm "enable -community"` after installing IPM. See `zpm "help enable"` for details.**
24
+
25
+
To enable the community package registry without the rest of the legacy behavior, run:
As an alternative installation method, if IRIS does not have access to the internet:
23
33
24
34
1. Download the [latest version](https://pm.community.intersystems.com/packages/zpm/latest/installer) of zpm from the registry
25
-
2. Import the zpm.xml into IRIS and compile via any desired way (Management Portal, Studio or Terminal)
26
-
27
-
After that you can use PackageManager to install modules from [community repository](https://pm.community.intersystems.com) in any namespace.
35
+
2. Import `zpm.xml` into IRIS and compile via any available method (Management Portal, Studio or Terminal - `do $System.OBJ.Load("/path/to/zpm.xml","ck")`)
36
+
3. (optional) Run `zpm "enable -community"` to enable instance-wide and with a connection to the [community package registry](https://pm.community.intersystems.com)
37
+
4. To verify the installation, ensure that you can run `zpm` in Terminal/`iris session` and get the following:
28
38
29
-
3. Check if you call a zpm in command line and get the following:
39
+
```
30
40
USER>zpm
31
-
32
41
zpm: USER>
42
+
```
33
43
34
44
## InterSystems IRIS / IPM Compatibility Matrix
35
45
@@ -41,7 +51,7 @@ zpm: USER>
41
51
42
52
## Compatibility Notes
43
53
44
-
With the release of IPM v0.9.0 on Dec 2024, IPM is no longer mapped across namespaces.
54
+
With the release of IPM v0.9.0 on December 2024, IPM is no longer mapped across namespaces.
45
55
This is an intentional change so that users can have different IPM versions and configurations in different namespaces.
46
56
If you install IPM on an instance without the legacy 0.7.x version, IPM is only installed to the current namespace.
0 commit comments