āš“ Resources

Troubleshooting & Common Fixes

Solutions for common CLI permissions, Git hook conflicts, and workstation key pairing errors.

EACCES: permission denied, open ~/.anchor/config.json

Fix file ownership permissions on your local workstation configuration folder:

$ sudo chown -R $(whoami) ~/.anchor && chmod 600 ~/.anchor/config.json

AnchorGit: Git repository not detected

Ensure you are executing anchor inside an active Git repository directory, or initialize Git first:

$ git init && anchor init

šŸ’» Terminal Output

Verifying CLI HealthTerminal
$anchor doctor
āš“ Running System Diagnostics...
āœ” Node.js Runtime: v20.11.0
āœ” Local Git Binary: /usr/bin/git (2.43.0)
āœ” Hardware Key:     ed25519 (Valid)
āœ” Permissions:      ~/.anchor/config.json (Writable)
All systems operational!