Skip to main content

Genezio CLI

The genezio cli companion can be used to deploy your projects. You can run genezio on your machine or in your CI/CD pipeline.

What is the Genezio CLI?

The Genezio CLI is a powerful command-line tool designed to simplify the development lifecycle of serverless applications on the Genezio platform. It provides seamless integration with local development environments, offering features like:

  • Project Creation: Create a new fullstack project from templates.
  • Local Development: Run a local environment with your project for testing purposes.
  • Deployment: Deploy your project to the Genezio infrastructure.
  • Project Management: List, delete, and view details of your projects.
  • Infrastructure as Code (IaC): Manage configuration, databases, and environment variables through the genezio.yaml file.

Installation

You can install the genezio CLI using your preferred package manager: npm, pnpm, or yarn.

npm install genezio -g

Commands Summary

The genezio CLI tool supports the commands shown in the following table:

CommandDescription
genezio createCreate a new fullstack project from templates Learn more
genezio local --port <port>Runs a local environment with your project for testing purposes. Learn more
genezio deployDeploys your project to the genezio infrastructure. Learn more
genezio analyzeAnalyzes the current directory's infrastructure setup. Learn more
genezio list [<identifier>]Displays details of your projects.Learn more
genezio delete [<project-id>]Deletes a specific project. Learn more
genezio sdkGenerates an SDK corresponding to a deployed project. Learn more
genezio accountDisplay information about the current account logged in. Learn more
genezio login <access-token>Authenticates with genezio platform to deploy your code. Learn more
genezio logoutLogout from genezio platform. Learn more
genezio helpDisplays help for the CLI tool.
genezio <command> --helpDisplays help for a specific command.

CLI Environment Variables

Variable NameDescription
GENEZIO_NO_TELEMETRYDisables telemetry and analytics data collection.

Telemetry in the Genezio CLI

At Genezio, we implement and launch features by leveraging insights gained from customer interactions. We rely on customer feedback to continually improve our product. Telemetry is additional information that helps us to better diagnose issues, and deliver features that improve our customer experience.

Data Collected

The data collected it the following, but not limited to:

  • Command Usage: Information about the commands used, and options selected
  • Execution Time: Time taken to execute specific commands or operations.
  • Error Tracking: Reports on encountered errors, crash logs, and stack traces (excluding any sensitive user data).
  • Environment Information: General details about the user's system (e.g., operating system, CPU, memory) that aid in troubleshooting and compatibility improvements.

We do NOT collect any personally identifiable information (PII) or sensitive data.

> Data Privacy and Security

At Genezio, we take data privacy and security seriously. All data collected is anonymized and aggregated to protect user identities and sensitive information. We adhere to strict privacy policies and do not share or sell any user data to third parties.

Turn off telemetry

If you prefer not to participate in data collection, you can disable telemetry. Simply set the environment variable GENEZIO_NO_TELEMETRY to 1 before running any Genezio commands.

export GENEZIO_NO_TELEMETRY=1