# Gravity CLI 0.4.0: Gravity Sync libraries and faster answers

Canonical: https://www.gravitynotes.app/changelog/cli/0.4.0

1 November 2026

- Read and export Gravity Sync (Beta) libraries with the CLI.
- The CLI follows the library you pick in the Mac app, including after you switch accounts.
- `gravity list --sort list` gives you the list order.
- `gravity search` lists equal matches newest first.
- Search for a tag on its own, like `todo:` or `--tag todo`, to see your newest tagged notes first.
- Search reads past damaged rows and finds every readable match.
- Search paging ends cleanly on the last page.
- Replace imports always save a restorable backup before they change anything.
- `gravity sync status` tells you which errors need your attention.
