@clix.vn/cli
Codein, the self-hosted AI coding agent for teams by CLIX, as a command line tool. This package installs the codein
command.
Install
npm i -g @clix.vn/cli
Bun, pnpm and yarn work too. The binary for your platform (Linux, macOS or Windows; x64 or arm64) arrives as an optional
dependency and a postinstall script puts it in place, so do not install with --ignore-scripts.
[!IMPORTANT] Run the install from any directory except a clone of the Codein source repository. The repository is a Bun workspace whose manifests use the Bun-only
catalog:andworkspace:specifiers, which npm cannot resolve, sonpm ithere fails withUnsupported URL Type "catalog:"orCannot read properties of null (reading 'edgesOut'). To work on the source, usebun installinstead.
The package installs two commands, codein and codein2, that run the same binary. If another codein earlier on your
PATH hides it, run codein2.
First run
Codein signs every user in through Keycloak, which runs in Docker. The first codein in a terminal offers to set it up;
you can also run it yourself:
codein keycloak setup # needs Docker; starts Keycloak (with Postgres), oauth2-proxy and nginx
codein login # sign in from the terminal
codein # start Codein in the current directory
See the repository README for the default accounts, the ports it uses, and how to deploy Codein on a shared host.
Links
- Source and issues: https://gitlab.com/qvntech/codein
- License: the Codein License by CLIX, in
LICENSE. The open source software inside Codein is listed with its licenses inTHIRD_PARTY_NOTICES.mdand in Codein under Settings > About > Third-party notices.