Yes, with the granite command. It runs on macOS, Linux, and Windows, and is handy for servers, backups, and scripts.
Install it with Homebrew:
brew install inhaus-team/granite/granite. Or use the script or Windows download on the Download page.Sign in:
granite login.Keep a vault and a folder in sync:
granite sync -watch Notes ~/Notes. Leave out-watchto sync once and stop.
brew install inhaus-team/granite/granite
granite login
granite sync -watch Notes ~/Notes
The same command runs the local MCP server for AI tools. See Can AI tools use my notes offline?