I created 2 hooks via the Admin console
I expected to see them in the endpoint at :
macOS: /Library/Application Support/Cursor/hooks.json
Linux/WSL: /etc/cursor/hooks.json
But they are not showing there
Steps to Reproduce
Create hooks via Admin console
Check the file location on the endpoint
Hey, thanks for the report. A couple of questions to narrow this down:
After creating the hooks in the admin console, did you restart Cursor on the end machine?
Can you check whether the hooks are visible inside Cursor itself? Open the Output panel (View > Output) and look for the “Hooks” channel. It may show whether any hooks were loaded.
Enterprise-managed hooks are delivered differently than local hooks in ~/.cursor/hooks.json. The team is aware of issues where command or enterprise hooks may not show up as expected. Your report helps us prioritize. We’ll post an update here as soon as there’s progress.
For now, as a workaround, you can add the hooks manually at the project level in <project>/.cursor/hooks.json or at the user level in ~/.cursor/hooks.json per the hooks docs: Hooks | Cursor Docs
BTW, in the doc it says there are 3 levels Global (Enterprise-managed), Project Directory (Project-specific), and Home Directory (User-specific)
But in the priority order, it says 4 levels - Priority order (highest to lowest): Enterprise → Team → Project → User
What is the difference between an enterprise and a team hooks? Enterprise hooks (system-wide config): Run from the enterprise config directory Team hooks (cloud-distributed): Run from the managed hooks directory