# Running Psalm

Once you've set up your config file, you can run Psalm from your project's root directory with
```bash
./vendor/bin/psalm
```

and Psalm will scan all files in the project referenced by `<inspectFiles>`.

If you want to run on specific files, use
```bash
./vendor/bin/psalm file1.php [file2.php...]
```

### Command-line options

Run with `--help` to see a list of options that Psalm supports.

# Running Psalm

Once you've set up your config file, you can run Psalm from your project's root directory with
```bash
./vendor/bin/psalm
```

and Psalm will scan all files in the project referenced by `<inspectFiles>`.

If you want to run on specific files, use
```bash
./vendor/bin/psalm file1.php [file2.php...]
```

## Command-line options

Run with `--help` to see a list of options that Psalm supports.

### Running Psalm faster

Psalm has a couple of command-line options that will result in faster builds:

- `--diff` which only checks files you’ve updated and their dependents.
- `--cache-results` which remembers Psalm’s output when scanning particular methods.
Add section about running faster builds
Add section about running faster builds
