# SheetOps

Source: https://abcastor.com/works/sheetops/

Read and edit Google Sheets from the command line with a preview and a Drive
backup before every write.

[By Emanuele Russo][L1]

Since 6 May 2026

[Get it][L2]

[L1]: https://emanuelegrusso.com/
[L2]: https://abcastor.com/works/sheetops/#get

## What it does

SheetOps turns spreadsheet changes into reviewable JSON patches for people and
agents alike. Before editing a cell, you inspect the dry run and confirm the
write; by default it copies a backup to Google Drive first and stops if that
backup fails.

Edits above 100 cells and range clears require extra confirmation flags, and
value updates can check a hash from an earlier read to reject stale changes. It
also handles snapshots, exports, charts and bound Apps Script projects through
Google's APIs, keeping credentials and logs on your own machine.

## Where to get it

Node.js 18 or newer and your own Google OAuth client. Pulling and pushing Apps
Script also requires clasp.

- [Install SheetOps From source][L3]

- [Google OAuth setup Setup guide][L4]

- [Source and licence GitHub][L5]

[L3]: https://github.com/ABCastor/SheetOps#install
[L4]: https://github.com/ABCastor/SheetOps/blob/main/SETUP.md
[L5]: https://github.com/ABCastor/SheetOps
