Skip to content

Install & Quickstart

The XIDL compiler, xidlc, compiles .idl files containing interface definitions into server code, client code, and protocol schemas.

Terminal window
curl --proto '=https' --tlsv1.2 -sSf https://xidl.netlify.app/install.sh | sh
Terminal window
xidlc --help
Terminal window
xidlc gen -o out rust your.idl
  • rust
  • rust-axum
  • rust-jsonrpc
  • openapi
  • openrpc
  • typescript
  • typescript-rest
  • go
  • go-rest

See Target Generators for the full list with aliases and typical combinations.

A Visual Studio Code extension provides syntax highlighting, code formatting, and HTTP interface preview. See Editor for installation and details.