Skip to content
Skip to content

Code from your terminal. One line to install.

One line installs the hai command and the editor extension: Tab completions as you type, inline edits, and full coding tasks, checked and undoable, with your HAANORA account.

01Install

Three steps, one paste.

  1. I.

    Open Terminal

    Press ⌘ Space, type Terminal and press Return.

  2. II.

    Paste this and press Return

    It installs hai, and the HAI Coder extension if VS Code or Cursor is on your Mac.

    curl -fsSL https://haanora.com/cli/install.sh | sh
  3. III.

    Use it

    Open a new Terminal window, go to a project and type hai. With the HAANORA app on this computer, hai uses it (and opens it quietly when it is closed). Without the app, run hai login once and hai does the work itself.

    cd my-project && hai

02What you get

Your editor, with a coder in it.

  • 01hai

    Chat with HAI Coder in any folder; follow-ups remember the chat.

  • 02hai "task"

    One job, then exit. hai -p prints only the answer, for scripts.

  • 03Tab

    Grey suggestions as you type in VS Code or Cursor; press Tab to accept.

  • 04⌘⌥K

    Select code, say what to change, keep or undo.

  • 05⌘⌥I

    Run a full task in the open folder from the editor.

  • 06Needs

    Node.js 18 or later, plus the HAANORA app or one hai login.