Installation
Install Hakobu via npm, pnpm, yarn, or bun.
Prerequisites
Hakobu requires Node.js 24.x or later.
node --version
# v24.x.xInstall as a Dev Dependency
The recommended approach is to install Hakobu as a dev dependency in your project:
npm install @hakobu/hakobu --save-devpnpm add @hakobu/hakobu -Dyarn add @hakobu/hakobu --devbun add @hakobu/hakobu -DThen add a build script to your 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/hakobuVerify Installation
After installing, confirm Hakobu is available:
hakobu --versionWhen 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.