HakobuHakobu

Installation

Install Hakobu via npm, pnpm, yarn, or bun.

Prerequisites

Hakobu requires Node.js 24.x or later.

node --version
# v24.x.x

Install as a Dev Dependency

The recommended approach is to install Hakobu as a dev dependency in your project:

npm install @hakobu/hakobu --save-dev
pnpm add @hakobu/hakobu -D
yarn add @hakobu/hakobu --dev
bun add @hakobu/hakobu -D

Then add a build script to your package.json:

package.json
{
  "scripts": {
    "build:exe": "hakobu ."
  }
}

Global Install

If you prefer to use Hakobu across multiple projects without adding it to each one:

npm install -g @hakobu/hakobu

Verify Installation

After installing, confirm Hakobu is available:

hakobu --version

When installed as a dev dependency, use npx hakobu or run it through a package.json script. The global install makes the hakobu command available directly in your shell.

Using npx Without Installing

You can also run Hakobu without installing it at all:

npx @hakobu/hakobu .

This downloads and runs the latest version on the fly.

On this page