# Electrik CLI

Electrik comes with two commands:

`php artisan electrik:install`

`php artisan electrik:make`

Both register themselves automatically with Laravel

### Install command

Install command is the essence of Electrik. It installs all the necessary packages, migrations, notifications, etc.

{% hint style="info" %}
Goes without saying, that please install Ellectrik only on a fresh Laravell application.
{% endhint %}

### Make command

`electrik:make` command is used to publish a new controller and view. It publishes a Livewire component with some enhancements provided by Electrik.

{% hint style="info" %}
We have plans to introduce more features to make commands in upcoming versions.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.electrik.dev/1.x/digging-deeper/electrik-cli.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
