Skip to content

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.

Terminal window
npm install -g hypertask_cli

Verify the installation:

Terminal window
hypertask --version
  1. Login via browser (recommended):

    Terminal window
    hypertask login

    This opens your browser to authenticate and saves the token locally.

  2. Login with a token (for CI/headless environments):

    Terminal window
    hypertask login --token <your-jwt-token>
  3. Check your auth status:

    Terminal window
    hypertask auth:status
  4. Logout:

    Terminal window
    hypertask logout

These flags can be used with any command:

FlagDescription
--token <jwt>Override the saved JWT token for this invocation
--api-url <url>Override the API URL (default: https://app.hypertask.ai/api)
--jsonOutput raw JSON instead of formatted text
-V, --versionPrint the CLI version
-h, --helpShow help for any command
Terminal window
# Get JSON output for scripting
hypertask task list --project 15 --json
# Use a different token for a one-off command
hypertask task list --project 15 --token eyJhbG...

List tasks with filters.

Terminal window
hypertask task list --project 15 --section "Doing" --assigned-to me
FlagDescriptionDefault
--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 page10
--offset <n>Pagination offset0
Terminal window
# High-priority tasks assigned to you
hypertask task list --project 15 --assigned-to me --priority urgent,high
# Page through results
hypertask task list --project 15 --limit 20 --offset 20

Get full details of a single task by its ticket ID.

Terminal window
hypertask task get HTPR-2992
ArgumentDescription
<ticket>Ticket identifier (e.g., HTPR-2992)

Create a new task.

Terminal window
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
FlagDescription
--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)

Update an existing task’s properties.

Terminal window
hypertask task update HTPR-2992 --priority urgent --due 2026-03-25
FlagDescription
--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
Terminal window
# Move a task to the "Doing" section
hypertask task update HTPR-2992 --section "Doing"
# Archive a completed task
hypertask task update HTPR-2992 --status Archive
# Update labels
hypertask task update HTPR-2992 --labels "CLI,reviewed"

Assign a user to a task.

Terminal window
hypertask task assign HTPR-2992 --user 42
FlagDescription
--user <id>User ID to assign

Move a task to a different section within the same board, or to a different project entirely.

Terminal window
# Move within the same board
hypertask task move HTPR-2992 --section "Done"
# Move to a different project
hypertask task move HTPR-2992 --to 20 --to-section 5010
FlagDescription
--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)

Move a task to a different project/board entirely. Alias: task move-project.

Terminal window
hypertask task move-board HTPR-2992 --target-project 20 --target-section 5010
FlagDescription
--target-project <id>Target project ID
--target-section <id>Target section ID

List all projects you have access to.

Terminal window
hypertask project list
FlagDescriptionDefault
--limit <n>Results per page10
--offset <n>Pagination offset0

List all sections (columns) in a project.

Terminal window
hypertask project sections 15
ArgumentDescription
<project-id>The project ID

List all members of a project.

Terminal window
hypertask project members 15
ArgumentDescription
<project-id>The project ID

List available labels for a project.

Terminal window
hypertask project labels 15
ArgumentDescription
<project-id>The project ID

Search for tasks by keyword.

Terminal window
hypertask search "dark mode" --project 15 --limit 5
Argument / FlagDescriptionDefault
<query>Search query (required)
--project <id>Restrict search to a project
--limit <n>Maximum results10

List all comments on a task.

Terminal window
hypertask comment list HTPR-2992
ArgumentDescription
<ticket>Ticket identifier

Add a comment to a task.

Terminal window
hypertask comment add HTPR-2992 --text "<p>Looks good, merging now.</p>"
FlagDescription
--text <text>Comment text (HTML format)

Update an existing comment.

Terminal window
hypertask comment update 8450 --text "<p>Updated: shipped in v2.1.0</p>"
Argument / FlagDescription
<id>Comment ID
--text <text>New comment text (HTML format)

Delete a comment.

Terminal window
hypertask comment delete 8450
ArgumentDescription
<id>Comment ID

List your unread notifications.

Terminal window
hypertask inbox list

Archive one or more notifications by ID.

Terminal window
hypertask inbox archive 101 102 103
ArgumentDescription
<ids...>One or more notification IDs to archive

Retrieve your user context, including projects and permissions.

Terminal window
hypertask context

This is useful to verify your identity, see which projects you belong to, and check your role/permissions.


CommandDescription
hypertask updateUpdate the CLI to the latest version
hypertask auth:statusCheck current authentication status
hypertask auth:login --token <jwt>Save a JWT token directly
hypertask auth:logoutClear saved authentication
hypertask logoutLogout from Hypertask

Terminal window
# 1. Check notifications
hypertask inbox list
# 2. Read the task details
hypertask task get HTPR-2992
# 3. Move it to "Doing"
hypertask task move HTPR-2992 --section "Doing"
# 4. Archive the notification
hypertask inbox archive 101
Terminal window
# 1. Find the project and its members
hypertask project list
hypertask project members 15
# 2. Create the task
hypertask 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 42
Terminal window
# List all urgent and high-priority tasks
hypertask task list --project 15 --priority urgent,high
# Review unassigned tasks
hypertask task list --project 15 --assigned-to unassigned
# Search for something specific
hypertask search "payment" --project 15
Terminal window
# 1. Add a final comment
hypertask comment add HTPR-2992 --text "<p>Deployed to production. Verified working.</p>"
# 2. Move to Done
hypertask task move HTPR-2992 --section "Done"
Terminal window
# Pipe task data to jq
hypertask task list --project 15 --json | jq '.[].title'
# Get a task's priority
hypertask task get HTPR-2992 --json | jq '.priority'