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
- pnpm
- yarn
npm install genezio -g
pnpm install genezio -g
yarn global add genezio
Commands Summary
The genezio CLI tool supports the commands shown in the following table:
Command | Description |
---|---|
genezio create | Create 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 deploy | Deploys your project to the genezio infrastructure. Learn more |
genezio analyze | Analyzes 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 sdk | Generates an SDK corresponding to a deployed project. Learn more |
genezio account | Display information about the current account logged in. Learn more |
genezio login <access-token> | Authenticates with genezio platform to deploy your code. Learn more |
genezio logout | Logout from genezio platform. Learn more |
genezio help | Displays help for the CLI tool. |
genezio <command> --help | Displays help for a specific command. |
CLI Environment Variables
Variable Name | Description |
---|---|
GENEZIO_NO_TELEMETRY | Disables 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.
- Linux/MacOS
- Windows
export GENEZIO_NO_TELEMETRY=1
set GENEZIO_NO_TELEMETRY=1