Instalation guide

José David Updated by José David

To start building and managing your AI agents, the first step is to install Weni CLI in your development environment. This tool connects you with the Weni Platform and gives you full power to create, test, and deploy your projects directly from the terminal.

Below are two installation methods. For most users, installing with PIP is sufficient. However, there is also a manual installation option using Poetry.

Prerequisites

  • Python >= 3.10

Method 1: Installation with PIP

This is the fastest and most straightforward way to install the CLI and start using it in your projects.

Open your terminal and run the following command:

pip install weni-cli

Method 2: Installation with Poetry

Additional Requirements:

  • Git
  • Poetry >= 1.8.5

Installation Steps:

# 1. Clone the official repository from GitHub
git clone https://github.com/weni-ai/weni-cli.git

# 2. Navigate to the project directory
cd weni-cli

# 3. Install the project dependencies
poetry install

# 4. Activate the virtual environment managed by Poetry
poetry shell

Verifying the Installation

Regardless of the method you chose, you can verify that the installation was successful by running:

weni

If everything is correct, your terminal will display a welcome message and a list of available commands.

Updating the Tool

To update the weni library, you can use the following command:

pip install --upgrade weni-cli

How did we do?

Welcome to Weni CLI!

Contact