Skip to main content

Quickstart Guide

Get up and running with Cirron CLI in just a few minutes. This guide will walk you through installing the CLI, creating your first project, and deploying it.

Prerequisites

  • Node.js (v20.19 or higher) - for the CLI
  • Python (3.11 or higher) - for the project

Installation

Install the Cirron CLI globally:
Verify the installation:
A curl one-line installer and a Homebrew formula are coming. For now, npm is the supported distribution channel.

Step 1: Create Your First Project

Create a new ML project with an interactive setup:
The CLI will guide you through:
  • Project name
  • Framework selection (PyTorch, TensorFlow, scikit-learn)
  • Model type (Classification, Regression, etc.)
  • Sample data inclusion
  • Jupyter notebook setup
Or create a project with specific options:
Note: You can use the CLI without authentication for local development. Authentication is only needed to connect your project to the Cirron platform.

Step 2: Navigate to Your Project

You can run the generated project directly with python train.py and then python serve.py, or drive it through the CLI as shown below.

Step 3: Test Your Project

Run the test suite to ensure everything is working:
This will test:
  • Environment compatibility
  • Requirements validation
  • Unit tests
  • Model loading
  • Data validation

Step 4: Build Your Project

Build your project for deployment:
This creates a production-ready build of your ML model.

What You’ve Built

Congratulations! You’ve successfully: Installed Cirron CLI
Created a new ML project
Tested your project
Built your project
Connected to Cirron platform (optional)
Deployed your project (optional)

Next Steps

Explore Your Project

Your project structure includes: For a PyTorch project:
The exact files depend on the template you chose.

Development Workflow

  1. Make changes to your model or code
  2. Test locally with cirron test
  3. Build with cirron build
  4. Deploy with cirron deploy (coming soon)

Advanced Features

  • Local development: Work entirely offline with full CLI functionality
  • Platform integration: Connect to Cirron for deployment and monitoring
  • Multiple environments: Deploy to staging and production
  • Environment variables: Manage configuration per environment
  • Rollback: Quickly revert to previous deployments
  • Monitoring: View logs and project status

Troubleshooting

Installation Issues

Project Issues

Multiple models in one repo?

If you keep several models in a single repository, add a root cirron.yaml with a workspace: key and the CLI can discover and validate all of them from the repo root. See Monorepo support.

Need Help?

Ready to build your next ML project? Check out the full CLI documentation for advanced features and workflows.