LilyPond Learning Manual: 1.1.4 Command-line

### 1.1.4 Command-line

Note: These instructions assume that you are familiar with command-line programs. If you are using any of the programs described in Easier editing, please consult the documentation for those programs if you have any problems compiling a file.

#### Step 1. Create your ‘`.ly`’ file

Create a text file called ‘`test.ly`’ and enter:

>     \version "2.14.1"
>     {
>       c' e' g' e'
>     }

#### Step 2. Compile (with command-line)

To process ‘`test.ly`’, type the following at the command prompt:

>     lilypond test.ly

You will see something resembling:

>     GNU LilyPond 2.14.1
>     Processing `test.ly'
>     Parsing...
>     Interpreting music...
>     Preprocessing graphical objects...
>     Solving 1 page-breaking chunks...[1: 1 pages]
>     Drawing systems...
>     Layout output to `test.ps'...
>     Converting to `./test.pdf'...

#### Step 3. View output

You may view or print the resulting ‘`test.pdf`’.

其它语言：česky, deutsch, español, français, magyar, italiano, 日本語, nederlands。

#### LilyPond — Learning Manual