I've been trying to set up a script I can run after installing an instance to enable IPM across all namespaces. I have been able to install IPM successfully using
set r = ##class(%Net.HttpRequest).%New(), r.Server="pm.community.intersystems.com", r.SSLConfiguration="ISC.FeatureTracker.SSL.Config" d r.Get("/packages/zpm/latest/installer"), $system.OBJ.LoadStream(r.HttpResponse.Data,"c")
and then running the zpm commands