Getting Started with LastMile
Ship your projects to production with confidence—and keep them production-ready as you iterate. This guide walks you through installing the CLI and getting your first Readiness Score in under 2 minutes.
Install the CLI
Install the LastMile CLI globally using npm or your preferred package manager.
Authenticate (Optional)
Log in to unlock AI-powered fixes and deployment features. Free tier analyze works without login.
Analyze Your Codebase
Scan your project with 5 LLM-powered deep analyzers: Security, Testing, Error Handling, Database, and Boilerplate. Full-repo analysis for context-aware detection.
Fix & Ship
Auto-generate fixes using templates, transformations, or LLM-powered generation. Then deploy to LastMile Cloud with one command.
Pro Tip
Add LastMile to your CI/CD pipeline to run on every PR. New code means new potential gaps—continuous scanning keeps your codebase production-ready as your team ships features.
What's Next?
MCP Server Setup
Connect LastMile to your AI workflow with Model Context Protocol integration.
Remote Syncing
Sync your configuration across teams and CI/CD pipelines seamlessly.
API Keys & Auth
Secure your deployments with proper authentication and key management.
Examples
Explore real-world configurations for Next.js, Express, and more.