Using the Haiku CLI


The Haiku CLI is the "Swiss army knife" for developers using Haiku. You can use it to import a Haiku into an existing codebase (essentially npm install,) or you can use the CLI to directly clone a Haiku project to your computer, to access and edit the code manually (essentially, git clone.)


To install, run the following command in your terminal:

With npm: (and instructions to install npm itself)

npm install -g @haiku/cli

With yarn: (and instructions to install yarn itself)

yarn global add @haiku/cli


    haiku - The Haiku CLI — developer utilities for automating Haiku actions and performing local and server-enabled actions without requiring the desktop app.

    haiku [global options] command [command options] [arguments...]


    list               Lists your team projects
    change-password    Changes your Haiku account password (interactive)
    clone              Clone a Haiku project to your filesystem, passing through to git clone
    delete             Deletes a Haiku project for your entire team.  Cannot be undone.
    install            Install a Haiku project as an npm module, requires a package.json
    login              Logs into Haiku services.  (interactive)
    logout             Logs out of Haiku services.
    update,upgrade     Updates dependencies

Next: Haiku Core Developer API

results matching ""

    No results matching ""