> For the complete documentation index, see [llms.txt](https://myroslavs-organization.gitbook.io/orm/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://myroslavs-organization.gitbook.io/orm/orm-cli/installing.md).

# Installing

Installing the ORM-CLI package

In order to install ORM-CLI, it is necessary to write the command:

```bash
npm install -g cli-orm
```

After that, in order to configure the operation of the CLI in your project, you need to create an `.env` file in which you need to enter the configuration of your ORM system, here is an example:

```
#DB_TYPE=mysql
#HOST=some_host
#USER=some_user
#PASSWORD=some_password
#PORT=3306

DB_TYPE=postgres
HOST=some_host
USER=some_user
PASSWORD=some_password
PORT=5432

DATABASE=first

MIGRATION_TABLE=migrations
MIGRATION_SCHEMA=public
```

Then write the command `orm-cli --init`

Enjoy using it!
