Command overview
beacon cloud cursor print-setup prints the install script for a Cursor cloud
agent environment. Paste it into the environment’s Install script field.
Command syntax
- downloads
beacon-hooksfrom the release you name into/tmp/beacon/bin, - writes Beacon’s project hooks to
.cursor/hooks.jsonin the checkout, with the hook setbeacon cloud cursor print-hooksprints, - lists
.cursor/hooks.jsonin.git/info/exclude, so agents never see it as a change to commit, - leaves the repository alone if it commits its own
.cursor/hooks.json.
--safe-hooks leaves out the shell and edit hooks (beforeShellExecution,
afterShellExecution, afterFileEdit), so you can prove the upload works
before the agent’s commands and edits pass through Beacon.
Examples
Print the install script for a specific Beacon release:Print the install script for a specific Beacon release
vX.Y.Z with the latest Beacon release tag.
Related
beacon cloud
Review cloud command group behavior.
beacon cloud cursor print-hooks
Print the project hooks, to commit them yourself.
Cursor Cloud Agents
Configure Cursor cloud agent telemetry end to end.