Skip to content

Instantly share code, notes, and snippets.

@isc-rsingh
Created February 14, 2022 16:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isc-rsingh/58afbd00cfa803aa93db6ade166798ed to your computer and use it in GitHub Desktop.
Save isc-rsingh/58afbd00cfa803aa93db6ade166798ed to your computer and use it in GitHub Desktop.
Script for InterSystems IRIS terminal. Useful if you don't have ZPM in your IRIS and can install with this one call in the terminal. Courtesy of @guillaume Rongier and @sergei Shutov and @Sergey Mikhailenko
set $namespace="%SYS" do ##class(Security.SSLConfigs).Create("ssl") set r=##class(%Net.HttpRequest).%New(),r.Server="pm.community.intersystems.com",r.SSLConfiguration="ssl" do r.Get("/packages/zpm/latest/installer"),$system.OBJ.LoadStream(r.HttpResponse.Data,"c")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment