Skip to content

Wyn now has 32 official packages and a live package registry at pkg.wynlang.com.

Install anything in one command

bash
wyn pkg install sqlite
wyn pkg install bcrypt
wyn pkg install web

Packages are declared in wyn.toml:

toml
[dependencies]
sqlite = "^3.47"
bcrypt = "^0.1"

What's included

The official packages cover the most common needs:

Databases: sqlite, pg, mysql, redis Web: web framework, http-client, https, websocket, jwt Security: bcrypt, jwt, crypto (builtin) CLI: args, color, table, log, dotenv Graphics: gui (SDL2), raylib Mail: smtp

Most of these are thin wrappers around battle-tested C libraries — sqlite bundles the actual SQLite 3.47.2 source, pg wraps libpq, bcrypt wraps the OpenBSD implementation.

The registry

The registry supports:

  • wyn pkg search <query> — fuzzy search
  • wyn pkg info <name> — package details
  • wyn pkg install <name>@<version> — pinned versions
  • wyn pkg push — publish your own packages
  • Semver resolution with ^, ~, >= constraints

What's next

Community packages. The registry is open — anyone can wyn pkg register and start publishing. We're hoping to see ORMs, template engines, testing frameworks, and more from the community.

MIT License