A TypeScript command-line client for managing TickTick tasks and projects.
- Authenticate with TickTick (credentials or browser-assisted flow)
- List, create, update, complete, and delete tasks
- List, create, update, and delete projects
- Interactive prompts for missing command options
- Node.js 18+
- npm
npm install
npm run build
npm linkAfter linking, use the CLI with:
tt --helpnpm install -g ticktick-cli- Authenticate:
tt auth login- Check auth status:
tt auth status- Create a task:
tt tasks add --title "Pay electricity bill" --project inbox --due 2026-03-05- List tasks:
tt tasks listtt auth logintt auth login --username <username> --password <password>tt auth logouttt auth statustt auth whoami
Notes:
- Browser login is partially manual in the current implementation.
- You may be prompted to paste TickTick session cookie
t=....
tt tasks listtt tasks list --project <projectId>tt tasks list --completedtt tasks list --uncompletedtt tasks add --title <title> [--content <content>] [--project <projectId>] [--due YYYY-MM-DD]tt tasks show <id>tt tasks update <id> [--title <title>] [--content <content>] [--project <projectId>] [--due YYYY-MM-DD] [--completed|--uncompleted]tt tasks complete <id>tt tasks uncomplete <id>tt tasks delete <id>
tt projects listtt projects add --name <name> [--color <hex>]tt projects show <id>tt projects update <id> [--name <name>] [--color <hex>]tt projects delete <id>
npm install
npm run build
npm run dev
npm test
npm run lintAuthentication and user data are stored locally via configstore under the package name ticktick-cli.
MIT