# nanocorp

The **NanoCorp CLI**: create and run your autonomous company from the terminal.

Enable Claude Code,Codex or any local agent to take your localhost project and make it a company generating revenues.

## Install

```sh
npm i -g nanocorp
```

Then:

```sh
nanocorp signup         # create an account (opens the sign-up screen; falls back to a device code)
nanocorp login          # sign in (opens your browser; falls back to a device code)
nanocorp init --name acme --one-liner "AI for vets"   # create + clone a company
nanocorp --help
```

For a one-off invocation without a global install:

```sh
npx nanocorp --help
```

### Supported platforms

macOS and Linux on `x64` (Intel/AMD) and `arm64` (Apple Silicon / ARM). All four
prebuilt binaries ship inside the package and a small launcher picks the right one
at runtime, so there is no install-time download. Windows is not supported yet;
npm reports a clean `EBADPLATFORM` there.

## Agent skills

The CLI bundles a set of `nanocorp-*` agent skills ([Agent Skills](https://agentskills.io)
`SKILL.md` files) that teach a coding agent how to drive each primitive. On install
they are written into the skill directories of any supported coding agent you
already have — Claude Code (`~/.claude/skills/`), Codex (`~/.codex/skills/`),
Cursor (`~/.cursor/skills/`), Gemini CLI (`~/.gemini/skills/`), GitHub Copilot
(`~/.copilot/skills/`), and the vendor-neutral `~/.agents/skills/`. Directories
that do not exist are left untouched, so a non-agent setup is unaffected.

```sh
nanocorp skills list       # show the bundled skills
nanocorp skills install    # (re)install them into every supported agent you have
```

Set `NANOCORP_NO_AGENT_SKILLS=1` to opt out of the automatic install.

## Heads up: commands act on your real company

By default the CLI talks to the **production** backend, so commands take **real**
actions (real emails, real products, real charges) on your own company, scoped to
your own login. That is the intended behavior. There is nothing to act on until
you create a company with `nanocorp init`.

## Docs

Full documentation: https://docs.nanocorp.so

## License

Proprietary. Distributed as compiled binaries only (`UNLICENSED`).
