Package Guard shows package installs and usage across your endpoints. It runs on pmg, the open-source Package Manager Guard CLI that intercepts package manager commands and syncs the activity to SafeDep Cloud.Documentation Index
Fetch the complete documentation index at: https://docs.safedep.io/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Install PMG using the quickstart guide
- Have a SafeDep Cloud tenant ID and tenant domain (see Cloud quickstart)
Enable cloud sync
Enable cloud sync in the PMG config
Open the PMG config at
~/.config/safedep/pmg/config.yml (run pmg setup info to confirm the path) and add the cloud sync block, keeping any existing settings:Login to SafeDep Cloud
Authenticate with your tenant details:Enter your tenant ID and tenant domain when prompted.
Common sync patterns
- After dependency updates: run
pmg cloud synconce installs or upgrades complete. - In CI/CD pipelines: add
pmg cloud syncas a post-step after pmg runs. - Scheduled: use cron for nightly syncs, e.g.
0 0 * * * pmg cloud sync.
View package events in SafeDep Cloud
After syncing, open app.safedep.io, select Endpoints in the sidebar, and pick your endpoint to see the Package Events timeline.
Next steps
PMG Quickstart
Install PMG and learn the basics
SafeDep Cloud Sync
Learn how cloud sync works across SafeDep tools

