New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@pressa/cli

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pressa/cli

CLI for Pressa — Compile-as-a-Service. LaTeX in, PDF out.

Source
npmnpm
Version
0.2.1
Version published
Weekly downloads
38
-80%
Maintainers
1
Weekly downloads
 
Created
Source

Pressa CLI

Command-line interface for Pressa - Compile-as-a-Service. LaTeX in, PDF out.

Installation

npm install -g @pressa/cli

Quick Start

# Set your API key
pressa auth

# Compile a LaTeX file
pressa compile report.tex

# Compile with a specific engine
pressa compile report.tex --compiler xelatex

# Read from stdin
cat report.tex | pressa compile -

# JSON output (for AI agents)
pressa compile report.tex --json

Commands

pressa auth

Configure your API key.

# Interactive
pressa auth

# Non-interactive
pressa auth --key pressa_xxxx

pressa compile <file>

Compile a LaTeX file to PDF.

OptionDescription
-c, --compilerLaTeX compiler: pdflatex (default), xelatex, lualatex
-o, --outputOutput PDF filename
--jsonMachine-readable JSON output
--no-downloadDon't download PDF, just return URL
-u, --urlAPI base URL override

Use - as filename to read from stdin.

pressa usage

Show your API usage statistics.

Plan:    free
Used:    3/50 this month
Resets:  April 30, 2026
API Key: pressa_c... (Test Key)

Configuration

Config is stored in ~/.pressa/config.json:

{
  "api_key": "pressa_xxxx",
  "api_url": "https://api.pressa.dev"
}

Development

cd cli
npm install
npm run build
npm run dev    # watch mode

License

MIT

Keywords

latex

FAQs

Package last updated on 14 Apr 2026

Related posts