[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)

# [Create Piral Instance](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/create-piral-instance.svg?style=flat)](https://www.npmjs.com/package/create-piral-instance) [![tested with vitest](https://img.shields.io/badge/tested_with-vitest-99424f.svg)](https://vitest.dev/) [![Community Chat](https://img.shields.io/discord/1222632475449229352)](https://discord.gg/kKJ2FZmK8t)

`create-piral-instance` is a command-line tool that can also be used via NPM. It should make scaffolding a new Piral instance as simple as possible.

## Usage

There are different ways of using it.

You can either install the tool globally and run it from there, or you use `npx` for this duty:

```sh
npx create-piral-instance
```

Alternatively, you can use `npm init` to run it.

```sh
npm init piral-instance
```

There are no command line parameters. Every input will be supplied via a command line prompt in an interactive manner. If you look for a tool to automate this (e.g., via command line parameters) use the `piral-cli`.

## Documentation

For details on the available commands check out the [documentation at Piral](https://docs.piral.io) or [on GitHub](https://github.com/smapiot/piral/tree/main/docs/commands).

## License

Piral is released using the MIT license. For more information see the [license file](./LICENSE).
