Published on InterSystems Developer Community (https://community.intersystems.com)

Home > How could we install zpm?

Question
Yone Moreno · May 13, 2020

How could we install zpm?

Hello,

We have read the installation guide to get started with zpm package manager:

https://openexchange.intersystems.com/package/ObjectScript-Package-Manag...

 

We wonder what means the second step:

"Import the zpm.xml into IRIS and compile via any desired way (Management Portal, Studio or Terminal)"

 

We have thought that it means to place the zpm-0.2.2.xml file inside "C:\InterSystems\HealthShare_2\opt\contenedor"

Then in the terminal, go inside one namespace:

zn "esbsscc"

After that we load and compile the .xml:

write $SYSTEM.OBJ.Load("C:\InterSystems\HealthShare_2\opt\contenedor\zpm-0.2.2.xml")

 

The terminal outputs:

Loading file C:\InterSystems\HealthShare_2\opt\contenedor\zpm-0.2.2.xml as xml
Imported class: %ZPM.Installer
Load finished successfully.
1

 

However, when we try to verify that it is installed:

zpm                                                                      
ZPM
^
<SYNTAX>

 

What are the steps to install zpm package manager?

 

We have also read:

https://cedocs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?K...

https://github.com/intersystems-community/zpm/wiki

https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...

#InterSystems Package Manager (IPM) #Caché

Source URL:https://community.intersystems.com/post/how-could-we-install-zpm