# Scala CLI

> Command-line tool to compile, run, test and package Scala code

Source: https://talira.ai/catalog/scala-cli-k6p6n7y1
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / build / build systems](https://talira.ai/categories/developer-tools/build/build-systems)
- Platforms: macos, linux, windows[^2]
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [VirtusLab](https://talira.ai/orgs/virtuslab.md)

Scala CLI is a command-line tool for working with the [Scala](https://talira.ai/catalog/scala-g5wyay8j.md) language: it compiles, runs, tests and packages Scala code in scripts, playgrounds and single-module projects, with no configuration file needed, since dependencies, Scala and JVM versions and compiler options can be set in the source files or on the command line. It's compiled to native code and hands compilation to Bloop for speed. Since Scala 3.5.0 it's the default Scala runner, shipped as `scala` with the official language installation. VirtusLab develops and maintains it.

## Links

- Website: https://scala-cli.virtuslab.org/
- GitHub: https://github.com/VirtusLab/scala-cli
- Docs: https://scala-cli.virtuslab.org/docs/overview

## Problems it solves

- run a single Scala script with dependencies without setting up sbt
- quickly try out a Scala library or a different JVM version
- build and package a small Scala project with no build configuration

## Features

- Compile, run, test and package Scala code
- Dependencies and options declared in source files
- Scripts and REPL-style playgrounds
- Native binary with Bloop compilation server
- Default `scala` runner since Scala 3.5.0
- Install with Homebrew, WinGet, or a GitHub Action

## Trust

Overall: 0.62 out of 1.
Signals: maintenance 1.00, adoption 0.56, momentum 0.31, community 0.83, backing 0.30, extensibility 0.00.

- last commit 5 days ago
- 252 commits in the last 90 days
- latest release v1.19.0 18 days ago
- 646 GitHub stars
- 118 contributors
- backed by VirtusLab

## Alternatives

- [Mill](https://talira.ai/catalog/mill-s0k16t62.md): A better build tool for Java, Scala and Kotlin
- [sbt](https://talira.ai/catalog/sbt-7d3076a1.md): A simple build tool for Scala and Java

## Sources

[^1]: https://github.com/VirtusLab/scala-cli/blob/main/LICENSE (checked 25 Nov 2026)
[^2]: https://scala-cli.virtuslab.org/ (checked 25 Nov 2026)
