Code Generation

Installation

Install the AeroCoding CLI to generate production-ready code from your visual schemas directly in your terminal.

Requirements

Before installing, make sure you have:

  • Node.js 18 or later
  • npm, yarn, or pnpm package manager
  • An AeroCoding account (free tier available)

Install the CLI

Install globally to use from anywhere in your terminal.

[01]

Choose your package manager

Run one of the following commands to install the AeroCoding CLI globally:

npm
npm install -g aerocoding
yarn
yarn global add aerocoding
pnpm
pnpm add -g aerocoding
[02]

Verify installation

Check that the CLI was installed correctly by running:

Terminal
aerocoding --version
# aerocoding/1.x.x
[03]

Authenticate

Login to your AeroCoding account. A browser window will open for authentication:

Terminal
aerocoding login

Tip

You only need to login once. The CLI stores your session locally and remembers you for future commands.

Troubleshooting

Common issues and how to fix them.

Command not found after installation

Make sure your global npm/yarn/pnpm bin directory is in your PATH. Try restarting your terminal.

Permission denied on Linux/Mac

You may need to use sudo or configure npm to use a different directory for global packages.

Login browser doesn't open

Copy the URL shown in the terminal and paste it manually in your browser.

Next steps

You're ready to start generating code.