# Environment Requirements

## Minimum Runtime

- Python `>=3.8`
- Node.js `>=18`
- npm available in PATH

## System Packages (Linux)

- `git`
- `curl`
- `ca-certificates`

## Startup Checks

```bash
khy doctor
khy gateway status
```

Optional bootstrap mode:

- Default npm bootstrap uses slim mode (`--omit=optional`).
- To include optional heavyweight dependencies, set:
  - `KHY_NPM_INCLUDE_OPTIONAL=true`

## Packaging Constraint

- pip distribution hard limit: `<= 1000000000 bytes`.

## VMware Image Build Requirements (Optional)

- Root privileges (`sudo`)
- `parted`, `losetup`, `rsync`, `grub-install`, `mkfs.vfat`, `mkfs.ext4`
- Optional VMDK export: `qemu-img`

Quick check:

```bash
bash scripts/khytogo/make-khytogo.sh --mode vmware-plan
```
