AnyTask CLI v0.12 is a complete rewrite from Python to TypeScript, providing faster startup times, better type safety, and seamless integration with the AnyTask monorepo.
Highlights
Complete TypeScript Rewrite
The CLI has been completely rewritten in TypeScript:
- Faster startup - No Python interpreter overhead
- Type safety - Full TypeScript with strict mode
- Monorepo integration - Shares types with web application
- Modern tooling - ESM modules, Commander.js, Orval-generated API clients
New Package Name
The package has moved from PyPI to npm:
- Old:
anyton PyPI (Python) - New:
@bsheng/anyton npm (TypeScript)
Unified Command Structure
All commands are now subcommands under anyt:
# Worker command (changed) anyt worker start # Previously: anyt-worker start # All other commands remain the same anyt task list anyt login anyt init
Installation
Quick Install
macOS/Linux:
curl -fsSL https://anyt.dev/install.sh | sh
Windows:
irm https://anyt.dev/install.ps1 | iex
Manual Install
Requires Node.js 18+:
npm install -g @bsheng/anyt # or pnpm add -g @bsheng/anyt
All Features Preserved
All features from v0.11.x are fully supported:
Task Management
anyt task list- List tasks with filtersanyt task add- Create new tasksanyt task show- View task detailsanyt task edit- Update tasksanyt task done- Mark tasks completeanyt task pick/unpick- Select active taskanyt task start- Pick and activate taskanyt task suggest- Get AI-powered suggestions
Task Sync
anyt task pull- Download tasks locallyanyt task push- Push local changesanyt task open- Open task folder
Dependencies & Plans
anyt task dep add/list/rm- Manage dependenciesanyt task plan show- View implementation plans
Pull Requests
anyt task pr register- Link PRs to tasksanyt task pr list/show- View linked PRs
Other Commands
anyt comment add/list- Task commentsanyt board- Task board summaryanyt project list/show/create- Projectsanyt workspace list/show- Workspacesanyt agent install/list/uninstall- Agent integrationanyt worker start/run/check- Workflow automationanyt config set-key/set-url/show- Configurationanyt health- API health checkanyt self info/check/update- CLI management
Migration Guide
From Python CLI (v0.11.x)
- Uninstall Python version:
uv tool uninstall anyt # or pipx uninstall anyt
- Install TypeScript version:
npm install -g @bsheng/anyt
- Update worker command:
# Old anyt-worker start # New anyt worker start
Configuration is automatically migrated on first run.
Architecture
The TypeScript CLI is part of the AnyTask monorepo:
apps/cli/ # CLI application packages/anyt/ ├── cli-sdk/ # Generated API client for CLI ├── web-sdk/ # Generated API client for web └── api-client-core/ # Shared HTTP client
API clients are auto-generated from the backend's OpenAPI spec using Orval, ensuring type-safe API calls that stay in sync with the backend.
Version History
- v0.12.0 - December 18, 2025: TypeScript Rewrite
Learn more at npm.