pmg binary on the machine, then configure each local user so npm install and pip install go through PMG.
The MDM scripts README in the PMG repo is the source of truth. Scripts and supported MDMs are updated there first.
Supported MDMs
Mosyle, Kandji, and other MDMs that run a shell script as root on macOS use the same scripts. Follow Jamf or JumpCloud when your MDM can ship more than one file. Follow Intune when it accepts one script per policy.Scripts
- Multi-file (Jamf, JumpCloud): deploy
lib_macos.shwithpmg_setup_install_macos.shorpmg_uninstall_macos.sh. The entry scripts sourcelib_macos.shat runtime and fail without it. - Standalone (Intune): generate an installer with Cloud credentials embedded, then upload that one script.
pmg setup cert install) cannot run through MDM. Adding a trusted root to the login Keychain needs interactive authorization in the user’s GUI session. Have each user run it in their own session when needed (only for tools that ignore the proxy CA environment variables, such as Go on macOS).
You can optionally ship a config.yml next to the scripts (or pass --config when generating a standalone installer) for a machine-wide config. If you do, set cloud.enabled: true in it. A global config prevents the installer from changing that flag. See Globally Managed Configuration.
Next steps
Jamf
Multi-file scripts. Pass Cloud credentials as script parameters.
JumpCloud
Multi-file scripts, attached to a Command that runs as root.
Intune
Generate a standalone installer with Cloud credentials, then upload it.

