## 1.4 Command line setup

On many GNU/Linux distributions, LilyPond can be installed from the package manager. This is also the case on macOS using either MacPorts or Homebrew.

```/.../lilypond-x.y.z/bin/lilypond file.ly
```

(on Windows, replace the slashes ‘/’ with backslashes ‘\’).

This compiles `file.ly`, and produces `file.pdf`. To test your setup, you can use this minimal file:

```\version "2.23.13"

{ c' }
```

This will produce this output in ‘file.pdf’: