Command-line interface for Mesh — your personal CRM.
npm install -g @meshhq/mesh-cliOr run directly with npx:
npx @meshhq/mesh-cli <command>Log in with your Mesh account:
mesh loginThis opens your browser to authorize the CLI. Once authenticated, your credentials are stored locally at ~/.config/mesh-cli.json.
mesh status # Check login status
mesh logout # Remove stored credentialsmesh contacts:search --name "Jane Doe"
mesh contacts:search --keywords "designer" --work-history-company "Google"
mesh contact --contact-id 123
mesh contacts:create --first-name "Jane" --last-name "Doe" --email "jane@example.com"
mesh contacts:update --contact-id 123 --title "Senior Designer"
mesh contacts:archive --contact-ids 123
mesh contacts:restore --contact-ids 123
mesh contacts:merge --contact-ids 123,456mesh notes:create --contact-id 123 --content "Met at the conference"
mesh notes --start 2025-01-01 --end 2025-12-31mesh groups
mesh groups:create --title "Investors"
mesh groups:update --group-id 5 --add-contact-ids 123,456mesh events --start 2025-01-01 --end 2025-01-31
mesh events:upcoming
mesh emails --start 2025-01-01 --end 2025-01-31
mesh emails:recentmesh reminders:recent
mesh reminders:upcomingAll commands default to JSON. Use --format to change:
mesh contacts:search --name "Jane" --format json # default
mesh contacts:search --name "Jane" --format csv
mesh contacts:search --name "Jane" --format tsv- Node.js 18+
- A Mesh account
Copyright Mesh