CLI Reference
The Hypertask CLI (hypertask) lets you manage tasks, projects, comments, and notifications directly from your terminal. It is the fastest way to interact with Hypertask programmatically and is the recommended interface for AI agents like Claude Code.
Installation
Section titled “Installation”npm install -g hypertask_cliVerify the installation:
hypertask --versionAuthentication
Section titled “Authentication”-
Login via browser (recommended):
Terminal window hypertask loginThis opens your browser to authenticate and saves the token locally.
-
Login with a token (for CI/headless environments):
Terminal window hypertask login --token <your-jwt-token> -
Check your auth status:
Terminal window hypertask auth:status -
Logout:
Terminal window hypertask logout
Global Options
Section titled “Global Options”These flags can be used with any command:
| Flag | Description |
|---|---|
--token <jwt> | Override the saved JWT token for this invocation |
--api-url <url> | Override the API URL (default: https://app.hypertask.ai/api) |
--json | Output raw JSON instead of formatted text |
-V, --version | Print the CLI version |
-h, --help | Show help for any command |
# Get JSON output for scriptinghypertask task list --project 15 --json
# Use a different token for a one-off commandhypertask task list --project 15 --token eyJhbG...task list
Section titled “task list”List tasks with filters.
hypertask task list --project 15 --section "Doing" --assigned-to me| Flag | Description | Default |
|---|---|---|
--project <id> | Filter by project ID | — |
--section <name> | Filter by section name | — |
--assigned-to <value> | Filter by assignee: me, unassigned, or a user ID | — |
--created-by <id> | Filter by creator user ID (numeric) | — |
--priority <list> | Comma-separated priorities: urgent, high, medium, low | — |
--limit <n> | Results per page | 10 |
--offset <n> | Pagination offset | 0 |
# High-priority tasks assigned to youhypertask task list --project 15 --assigned-to me --priority urgent,high
# Page through resultshypertask task list --project 15 --limit 20 --offset 20task get
Section titled “task get”Get full details of a single task by its ticket ID.
hypertask task get HTPR-2992| Argument | Description |
|---|---|
<ticket> | Ticket identifier (e.g., HTPR-2992) |
task create
Section titled “task create”Create a new task.
hypertask task create \ --project 15 \ --title "Implement dark mode toggle" \ --description "<p>Add a toggle switch in the settings panel to switch between light and dark themes.</p>" \ --priority high \ --labels "frontend,UX" \ --estimate 3 \ --due 2026-04-01| Flag | Description |
|---|---|
--project <id> | Project ID (required) |
--title <text> | Task title (required) |
--description <text> | Task description (HTML format) |
--priority <p> | Priority: urgent, high, medium, low, none |
--estimate <n> | Story points |
--labels <list> | Comma-separated label names or IDs (e.g., "CLI,BUG") |
--due <date> | Due date in ISO 8601 format (e.g., 2026-04-01) |
task update
Section titled “task update”Update an existing task’s properties.
hypertask task update HTPR-2992 --priority urgent --due 2026-03-25| Flag | Description |
|---|---|
--title <text> | New title |
--description <text> | New description (plain text or HTML) |
--priority <p> | New priority |
--estimate <n> | New story points |
--due <date> | New due date (ISO 8601) |
--status <s> | Status: Normal, Archive, Deleted |
--section <id|name> | Section ID or name (e.g., 4005 or "Doing") |
--project <id> | Project ID (required when using --section with a name across projects) |
--labels <list> | Comma-separated label names or IDs |
# Move a task to the "Doing" sectionhypertask task update HTPR-2992 --section "Doing"
# Archive a completed taskhypertask task update HTPR-2992 --status Archive
# Update labelshypertask task update HTPR-2992 --labels "CLI,reviewed"task assign
Section titled “task assign”Assign a user to a task.
hypertask task assign HTPR-2992 --user 42| Flag | Description |
|---|---|
--user <id> | User ID to assign |
task move
Section titled “task move”Move a task to a different section within the same board, or to a different project entirely.
# Move within the same boardhypertask task move HTPR-2992 --section "Done"
# Move to a different projecthypertask task move HTPR-2992 --to 20 --to-section 5010| Flag | Description |
|---|---|
--section <name> | Destination section name within the same board (e.g., "Doing", "Done") |
--to <id> | Target project ID — move to a different project |
--to-section <id> | Target section ID in the destination project (use with --to) |
task move-board
Section titled “task move-board”Move a task to a different project/board entirely. Alias: task move-project.
hypertask task move-board HTPR-2992 --target-project 20 --target-section 5010| Flag | Description |
|---|---|
--target-project <id> | Target project ID |
--target-section <id> | Target section ID |
Projects
Section titled “Projects”project list
Section titled “project list”List all projects you have access to.
hypertask project list| Flag | Description | Default |
|---|---|---|
--limit <n> | Results per page | 10 |
--offset <n> | Pagination offset | 0 |
project sections
Section titled “project sections”List all sections (columns) in a project.
hypertask project sections 15| Argument | Description |
|---|---|
<project-id> | The project ID |
project members
Section titled “project members”List all members of a project.
hypertask project members 15| Argument | Description |
|---|---|
<project-id> | The project ID |
project labels
Section titled “project labels”List available labels for a project.
hypertask project labels 15| Argument | Description |
|---|---|
<project-id> | The project ID |
Search
Section titled “Search”search
Section titled “search”Search for tasks by keyword.
hypertask search "dark mode" --project 15 --limit 5| Argument / Flag | Description | Default |
|---|---|---|
<query> | Search query (required) | — |
--project <id> | Restrict search to a project | — |
--limit <n> | Maximum results | 10 |
Comments
Section titled “Comments”comment list
Section titled “comment list”List all comments on a task.
hypertask comment list HTPR-2992| Argument | Description |
|---|---|
<ticket> | Ticket identifier |
comment add
Section titled “comment add”Add a comment to a task.
hypertask comment add HTPR-2992 --text "<p>Looks good, merging now.</p>"| Flag | Description |
|---|---|
--text <text> | Comment text (HTML format) |
comment update
Section titled “comment update”Update an existing comment.
hypertask comment update 8450 --text "<p>Updated: shipped in v2.1.0</p>"| Argument / Flag | Description |
|---|---|
<id> | Comment ID |
--text <text> | New comment text (HTML format) |
comment delete
Section titled “comment delete”Delete a comment.
hypertask comment delete 8450| Argument | Description |
|---|---|
<id> | Comment ID |
Inbox (Notifications)
Section titled “Inbox (Notifications)”inbox list
Section titled “inbox list”List your unread notifications.
hypertask inbox listinbox archive
Section titled “inbox archive”Archive one or more notifications by ID.
hypertask inbox archive 101 102 103| Argument | Description |
|---|---|
<ids...> | One or more notification IDs to archive |
Context
Section titled “Context”context
Section titled “context”Retrieve your user context, including projects and permissions.
hypertask contextThis is useful to verify your identity, see which projects you belong to, and check your role/permissions.
Utility Commands
Section titled “Utility Commands”| Command | Description |
|---|---|
hypertask update | Update the CLI to the latest version |
hypertask auth:status | Check current authentication status |
hypertask auth:login --token <jwt> | Save a JWT token directly |
hypertask auth:logout | Clear saved authentication |
hypertask logout | Logout from Hypertask |
Common Workflows
Section titled “Common Workflows”Pick up a task from your inbox
Section titled “Pick up a task from your inbox”# 1. Check notificationshypertask inbox list
# 2. Read the task detailshypertask task get HTPR-2992
# 3. Move it to "Doing"hypertask task move HTPR-2992 --section "Doing"
# 4. Archive the notificationhypertask inbox archive 101Create and assign a task
Section titled “Create and assign a task”# 1. Find the project and its membershypertask project listhypertask project members 15
# 2. Create the taskhypertask task create \ --project 15 \ --title "Fix login timeout issue" \ --description "<p>Users are getting logged out after 5 minutes of inactivity. Expected session length is 24 hours.</p>" \ --priority urgent \ --labels "bug,auth"
# 3. Assign it (use the user ID from project members)hypertask task assign HTPR-3050 --user 42Triage tasks by priority
Section titled “Triage tasks by priority”# List all urgent and high-priority taskshypertask task list --project 15 --priority urgent,high
# Review unassigned taskshypertask task list --project 15 --assigned-to unassigned
# Search for something specifichypertask search "payment" --project 15Complete a task
Section titled “Complete a task”# 1. Add a final commenthypertask comment add HTPR-2992 --text "<p>Deployed to production. Verified working.</p>"
# 2. Move to Donehypertask task move HTPR-2992 --section "Done"Use JSON output for scripting
Section titled “Use JSON output for scripting”# Pipe task data to jqhypertask task list --project 15 --json | jq '.[].title'
# Get a task's priorityhypertask task get HTPR-2992 --json | jq '.priority'