Skip to Content
Alprina is in active development. Join us in building the future of security scanning.
CLI Referencealprina quickstart

alprina quickstart

Interactive tutorial to get started with Alprina in minutes.

Synopsis

alprina quickstart

Description

The alprina quickstart command launches an interactive, beginner-friendly tutorial that teaches you how to use Alprina effectively. Perfect for first-time users who want to understand Alprina’s capabilities through hands-on practice.

This guided tutorial will:

  • Walk you through your first security scan
  • Explain scan results in plain English
  • Show you how to interpret findings
  • Demonstrate fixing vulnerabilities
  • Teach best practices for secure coding

No prior security knowledge required!

Usage

Simply run:

alprina quickstart

The tutorial will guide you step-by-step through the process.

What You’ll Learn

1. Running Your First Scan

Learn how to scan local files and understand what Alprina is checking.

✨ Welcome to Alprina Quickstart! We'll run your first security scan together. Creating a sample vulnerable application... βœ“ Let's scan it: $ alprina scan ./sample-app

2. Understanding Scan Results

See real vulnerability findings and learn what they mean.

πŸ“Š Scan Results: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Found 3 vulnerabilities: 1. HIGH - SQL Injection πŸ“ Location: database.py:42 πŸ’‘ What this means: An attacker could manipulate your database queries and steal data.

3. Fixing Vulnerabilities

Learn how to use alprina fix to remediate issues.

Let's fix this SQL injection: $ alprina fix ./sample-app --id VULN-001 Would you like to apply this fix? [y/N]: y βœ“ Fixed! Your code is now secure.

4. Best Practices

Get tips on securing your code during development.

Who Should Use Quickstart?

Perfect for:

  • πŸ†• First-time users - Never used Alprina before
  • πŸŽ“ Developers learning security - Want to understand common vulnerabilities
  • πŸš€ Quick onboarding - Need to get productive fast
  • πŸ“š Visual learners - Prefer hands-on tutorials

Tutorial Duration

The quickstart tutorial takes approximately 5-10 minutes to complete.

You can:

  • ⏸️ Pause at any time (Ctrl+C)
  • πŸ” Restart anytime by running alprina quickstart again
  • ⏩ Skip sections if you’re already familiar

Interactive Features

Guided Explanations

Every step includes clear explanations of what’s happening:

πŸ” Now we're scanning for security issues... Alprina is checking your code for: β€’ SQL injection vulnerabilities β€’ Hardcoded secrets and API keys β€’ Weak cryptography β€’ Common security misconfigurations This usually takes 5-10 seconds...

Real-time Feedback

See results as Alprina analyzes code:

βœ“ Scanned 15 files βœ“ Found 3 vulnerabilities βœ“ Generated fix recommendations

Hands-on Practice

Actually run commands and see real results (in a safe sandbox):

πŸ’» Try it yourself: Run this command: $ alprina scan ./sample-app --profile code-audit Press Enter when ready...

After Quickstart

Once you complete the tutorial, you’ll know how to:

  • βœ… Scan your own projects
  • βœ… Interpret security findings
  • βœ… Fix vulnerabilities with AI
  • βœ… Generate security reports
  • βœ… Integrate Alprina into your workflow

Next Steps

After completing quickstart:

  1. Scan Your Own Code

    alprina scan ./your-project
  2. Read the Full Guide Visit Getting Started for in-depth documentation.

  3. Try Advanced Features

  4. Join the Community

Example Session

Here’s what a typical quickstart session looks like:

$ alprina quickstart ✨ Welcome to Alprina Quickstart! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ This tutorial will teach you: 1. How to scan code for vulnerabilities 2. How to interpret security findings 3. How to fix issues with AI 4. Best practices for secure coding Time required: ~5-10 minutes Ready to start? [Y/n]: y ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ STEP 1: Your First Security Scan ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Creating a sample vulnerable application... βœ“ Created sample-app/ with 3 files Let's scan it for security issues: $ alprina scan ./sample-app Running scan... βœ“ πŸ“Š Found 3 vulnerabilities: β€’ 1 HIGH severity β€’ 2 MEDIUM severity [Tutorial continues...]

Troubleshooting

Tutorial won’t start

Ensure you have internet connectivity for the first run.

Want to skip the tutorial?

If you’re already familiar with Alprina, jump straight to:

Tutorial interrupted?

Just run alprina quickstart again to restart. Your progress isn’t saved between sessions.

Feedback

Help us improve the tutorial! If you have suggestions:


πŸŽ“ Ready to learn? Run alprina quickstart now!

Last updated on