Skip to content

Installation

AgentsForms ships a CLI (@agentsforms/cli) for creating, validating, and publishing forms from the terminal. An HTTP API is also available for headless workflows.

  • Node.js 18 or later (LTS recommended)
  • npm 9+ or pnpm 8+
  • Internet connection (the CLI talks to the AgentsForms API)
Terminal window
npm install -g @agentsforms/cli
Terminal window
pnpm add -g @agentsforms/cli
Terminal window
agentsforms --version

Expected output:

agentsforms 0.1.0
Terminal window
npm install -g @agentsforms/cli@0.1.0

Your global node_modules/.bin is likely not on $PATH. Run:

Terminal window
npm config get prefix

Add the printed path (with /bin appended) to your $PATH in .zshrc or .bashrc.

Use a Node version manager (nvm, fnm, volta) instead of a system-installed Node. Version managers install global packages to your home directory, avoiding permission issues.

Set the AGENTFORMS_API_URL environment variable if you need to route through a proxy or use a self-hosted API:

Terminal window
export AGENTFORMS_API_URL=https://api.agentsforms.com

Quickstart →