Add a Reminder from the Terminal with AppleScript
Insert a due-dated task into Reminders without opening the app.
Use `osascript` with `make new reminder in list ... with properties {name:..., due date:...}` to create the reminder.
01Command
Command
$ osascript -e 'tell application "Reminders" to make new reminder in list "提醒事项" with properties {name:"归还图书", due date:date "2026年9月20日 上午10:00"}'02What it does
The Reminders AppleScript dictionary supports creating reminders with a name, body, and due date, letting scripts add follow-ups automatically — for example a deployment script that schedules a review task. Date strings must match your system locale format.
03Risk
!Warning: First use triggers a permission prompt; reminders created this way go to the chosen list immediately and sync to your other devices. The list name must exist and be spelled exactly.
04Undo
Undo
$ osascript -e 'tell application "Reminders" to delete (first reminder of list "提醒事项" whose name is "归还图书")'05Sources
- Reminders User Guide for MacEvidence: Apple’s Reminders app documentation
- osascript – Execute AppleScripts and OSA scriptsEvidence: osascript runs AppleScript that can script the Reminders app
Last verified: 2026-09-18 · Category: System & Settings