Install and uninstall Asymptote’s security hooks for Cursor IDE.
Copy
Ask AI
asym cursor [command]
asym cursor --help
Copy
Ask AI
$ asym cursor --helpManage Asymptote integration with Cursor IDE.Use 'asym cursor install' to set up automatic security evaluationfor AI-assisted code changes in Cursor.Usage: asym cursor [command]Available Commands: install Install Cursor hooks for Asymptote security evaluation uninstall Remove Cursor hooks for AsymptoteFlags: -h, --help help for cursorUse "asym cursor [command] --help" for more information about a command.
Install Asymptote hooks for Cursor IDE. By default, hooks are installed at the user level (~/.cursor), which applies to all projects.
Copy
Ask AI
asym cursor install
asym cursor install --help
Copy
Ask AI
$ asym cursor install --helpInstall Asymptote hooks into Cursor IDE.This command sets up automatic security evaluation for AI-assisted code changes.After installation, every file edit by the AI agent will be evaluated againstyour security policies.By default, hooks are installed at the user level (~/.cursor), which appliesto all projects. Use --project to install only for the current project.Prerequisites: - You must be logged in (run 'asym login' first) - Restart Cursor after installation to activate hooksThe following files will be created: - hooks.json - Hook configuration pointing to the Go binary - ~/.asymptote/cursor/asym-hooks - Security evaluation binaryUsage: asym cursor install [flags]Examples: # Install for all projects (user level) asym cursor install # Install for all projects (explicit) asym cursor install --user # Install for current project only asym cursor install --projectFlags: -h, --help help for install --project Install at project level (./.cursor) - applies only to current project --user Install at user level (~/.cursor) - applies to all projects (default)
Flag
Description
--user
Install at user level (~/.cursor) — applies to all projects (default)
--project
Install at project level (./.cursor) — applies only to the current project
-h, --help
Help for install
Restart Cursor after installation to activate the hooks.
$ asym cursor uninstall --helpRemove Asymptote hooks from Cursor IDE.This removes the hooks binary, any legacy scripts, and updates hooks.jsonto remove Asymptote entries. Other hooks in hooks.json are preserved.By default, removes hooks from the user level (~/.cursor). Use --projectto remove from the current project only.After uninstalling, restart Cursor to deactivate the hooks.Usage: asym cursor uninstall [flags]Examples: # Remove user-level hooks asym cursor uninstall # Remove project-level hooks asym cursor uninstall --projectFlags: -h, --help help for uninstall --project Remove from project level (./.cursor) --user Remove from user level (~/.cursor) (default)