Skip to content

Translation out of date

The source content changed after this translation. See the Português version. View original

Log in to your account

Login via terminal, with organization, project and 2FA. Also without a screen, for servers.

Updated on Sep 16, 2026

HiNow Code uses your HINOW account: the same one from chat and the app. The login is saved, encrypted, on this machine; you log in once and you're done.

Via terminal

hinow-cli login

It asks for email and password. If the account has 2FA, it requests the code sent by email. If you belong to more than one organization, it asks which one to use; the default project is its Default.

No prompts

For scripts and servers, everything goes through option or environment variable:

hinow-cli login --email voce@empresa.com --password '...' --organization "Minha empresa" --project Default

# ou, sem a senha na linha de comando (recomendado):
export HINOW_EMAIL=voce@empresa.com
export HINOW_PASSWORD='...'
hinow-cli login --organization "Minha empresa"
OptionVariableWhat it is
-u, --emailHINOW_EMAILAccount email
-p, --passwordHINOW_PASSWORDPassword. Prefer the variable: the command line stays in shell history
--code2FA code received by email, for accounts with 2FA
--organization, --orgOrganization id or name, when there is more than one
--projectProject id or name (default: Default)

Login also when opening

The same options work in hinow-cli (the interface) and in hinow-cli serve: hinow-cli serve -u ... -p ... logs in and starts the server.

Check and exit

hinow-cli status    # conta, organização, projeto, estado do HINOW Connect
hinow-cli logout    # apaga o login desta máquina

The output of status shows, for example:

HiNow Code 1.0.3

account   Paulo <paulo@empresa.com> · Minha empresa / Default
backend   https://server.hinow.ai  ·  hub https://api.hinow.ai/v1
device    HiNow Code · notebook  (b63b837f5c69…)
connect   online · wss://connect.hinow.ai · 2 other device(s) online
policy    ask — the TUI asks before each remote session
bridge    pid 4711 (tui) · up since 10:02:28 AM

Switch organization or project

In the interface, both appear as chips in the prompt line: click to switch. Via terminal, log in again with --organization and --project.

One session per machine

The login belongs to the machine where it was created: the file is encrypted with its identity and does not work when copied to another. On each machine, run hinow-cli login.

Was this page helpful?