# PRQL compiler CLI prqlc

PRQL compiler CLI prqlc is a self-hosted databases app. prqlc is a command-line interface to the PRQL compiler, translating PRQL — a modern, pipelined SQL-replacement query language — into SQL for use with any SQL database, aimed at data engineers building reproducible data...

Canonical page: https://ourlocalhost.com/app/6384/prql-compiler-cli-prqlc

## Description

prqlc is a command-line interface to the PRQL compiler, translating PRQL — a modern, pipelined SQL-replacement query language — into SQL for use with any SQL database, aimed at data engineers building reproducible data transformations.

## Platform availability

Available on 0 of 10 platforms.

## Health score

80/100 (Excellent), based on 4 of 5 factors.
- Maintained: 100 (last commit 2 days ago)
- Popular: 81 (10,949 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)
- Security check: 94 (no serious findings, 1 minor, CI, tests)

## Links

- Official website: https://prql-lang.org
- GitHub: https://github.com/PRQL/prql
- Documentation: https://prql-lang.org/book

## Common questions

### How can I install the prqlc CLI?

Use brew install prqlc on macOS, winget install prqlc on Windows, or cargo install prqlc if you already have Rust's cargo.

### How do I compile a PRQL string to SQL using prqlc?

Use the prqlc compile command, which works as a filter that compiles a PRQL string into SQL.

### How can I set up shell completion for prqlc?

Run the prqlc shell-completion command to print a completion script, then save the printed script so the shell can load completions for each session.

### Where can I find language bindings for the PRQL compiler?

The bindings for other programming languages can be found in the repository's ./bindings/ directory.

---
Source: Our Local Host (https://ourlocalhost.com/app/6384/prql-compiler-cli-prqlc), the self-hosted and open-source app directory.
