One Command

Zero to logging
in 60 seconds

Stop copy-pasting tokens and creating config files. The Loggy CLI sets up everything automatically with a single command.

No global install
Auto-detects framework
terminal
$npx @loggydev/loggy-cli init
Welcome to Loggy!
Let's get your project set up in under 60 seconds.
Project detected!
Framework: Next.js
Package manager: npm
SDK installed!
Token saved to .env.local
Created src/lib/loggy.ts
Done! Loggy is ready to go.
Auto-configured
60 seconds

What happens when you run the command

The CLI handles all the tedious setup steps automatically

1

Detects Your Stack

Scans your package.json to identify Next.js, Astro, Remix, Express, and more. Picks the right config for your framework.

2

Installs the SDK

Uses your package manager (npm, yarn, pnpm, or bun) to install @loggydev/loggy-node automatically.

3

Authenticates You

Opens your browser to sign in or sign up. Creates a project and securely transfers the token back to your terminal.

4

Generates Config

Creates a ready-to-use utility file with your Loggy instance configured. Just import and start logging.

Works with your favorite frameworks

Automatic detection and framework-specific configuration

Next.js

Next.js

.env.local

Astro

Astro

.env

Remix

Remix

app/lib/loggy.ts

SvelteKit

SvelteKit

src/lib/loggy.ts

Express

Express

lib/loggy.ts

Fastify

Fastify

lib/loggy.ts

Hono

Hono

lib/loggy.ts

Node.js

Node.js

lib/loggy.ts

Ready-to-use code, generated for you

The CLI creates a utility file with everything configured. Just import it and start logging. No setup, no configuration, no copy-pasting.

Pre-configured with your project token
Includes metrics and tracing exports
TypeScript types included
// src/lib/loggy.ts (auto-generated)
import { CreateLoggy, CreateMetrics, CreateTracer }
from '@loggydev/loggy-node'
export const loggy = CreateLoggy({
identifier: 'my-app',
remote: {
token: process.env.LOGGY_TOKEN
}
})
// Start logging immediately!
loggy.info('Hello from Loggy! 🎉')

Ready to try it?

Run a single command and see your first log in the dashboard in under a minute.

$ npx @loggydev/loggy-cli init
Newsletter

CLI updates & tips

Get the latest CLI features, framework support updates, and developer productivity tips.

No spam, unsubscribe anytime. We respect your privacy.