---
updatedAt: 2026-04-16T20:28:23.000Z
agentTools:
  projectIndex: https://snipe-it.readme.io/llms.txt
---

# CLI Item Importer

While most people prefer to use the GUI importer, we do provide a command-line option for importing items.

```
# Run the importer via cli
$ php artisan snipeit:import path/to/your/file.csv
```

## Optional Arguments

| Option        | Values                             | Notes                                                                                       | Required |
| :------------ | :--------------------------------- | :------------------------------------------------------------------------------------------ | :------- |
| `--item-type` | `Asset`, `Accessory`, `Consumable` | Defaults to Asset                                                                           | No       |
| `--logfile`   | Any valid path                     | Defaults to `snipe-it-directory/storage/logs/importer.log`                                  | No       |
| `--verbose`   | None                               | Prints all information going to the log to screen as it processes.                          | No       |
| `--user_id`   | Integer representing user ID       | The user id to import assets as. Defaults to 1.                                             | No       |
| `--update`    | None                               | If flag is passed, the importer will attempt to update items instead of ignoring duplicates | No.      |

<br />