---
title: "How can I pack a .tps file using the command line client?"
description: "You can pack a .tps file via command line, override its settings with parameters, or use it as a config template with different sprite inputs."
canonical: "https://www.codeandweb.com/texturepacker/knowledgebase/tps-file-on-commandline"
product: "texturepacker"
source: "html"
---

# How can I pack a .tps file using the command line client?

Yes, simply pass the `.tps` file name as a [command-line parameter](https://www.codeandweb.com/texturepacker/documentation/commandline.md#building-tps-projects):

```bash
TexturePacker sheet.tps
```

You can also override settings from the `.tps` file with additional parameters:

```bash
TexturePacker sheet.tps --scale 0.5 --sheet small.png --data small.json
```

Alternatively, you can use the .tps file as a configuration template and specify input sprites via the command line:

```bash
TexturePacker config.tps sprites1/ --sheet sheet1.png --data sheet1.json
TexturePacker config.tps sprites2/ --sheet sheet2.png --data sheet2.json
```

## Structured data

```json
{
  "@context": "https://schema.org",
  "@type": "TechArticle",
  "headline": "How can I pack a .tps file using the command line client?"
}
```
