LASTMILE_
v1.0.0

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.

1

Install the CLI

Install the LastMile CLI globally using npm or your preferred package manager.

TERMINAL
$npm install -g @lastmile/cli
2

Authenticate (Optional)

Log in to unlock AI-powered fixes and deployment features. Free tier analyze works without login.

TERMINAL
$lastmile login
3

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.

TERMINAL
$cd your-project
$lastmile analyze
> Scanning codebase...
> [SECURITY] 2 critical gaps found
> [TESTING] No test framework detected
> [GIT] .env file committed to repository
> READINESS_SCORE: 42/100
4

Fix & Ship

Auto-generate fixes using templates, transformations, or LLM-powered generation. Then deploy to LastMile Cloud with one command.

TERMINAL
$lastmile fix# Generate fixes
$lastmile ship# Deploy to LastMile Cloud

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?