ā 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.jsonAnchorGit: 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!