# CLI

## Installation

The CLI can currently be installed as Node.js package, through npm

```
npm install -g @alpio/cli
```

## Commands

### Authentication

#### `alpio login`

Allows you to login to Alpio Cloud.

***

### Projects

#### `alpio projects list`

List existing projects, including their URL.

#### `alpio projects create`

Create and configure a new project, using your code editor.

#### `alpio projects edit`

Edit an existing project, using your code editor.

#### `alpio projects deploy`

Deploy an existing project, and output its URL.

***

### Project authentication

#### `alpio projects auth api-keys list`

List existing API keys for your project.

#### `alpio projects auth api-keys create`

Create a new API key for your project.

#### `alpio projects auth api-keys delete`

Delete an API key. Any requests using the deleted API key will immediately be forbidden. Once deleted, API keys can not be retrieved.

***


---

# 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.alpio.cloud/alpio/docs/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.
