# Ejecución de IA vía CLI

## Qwen-Code

<https://github.com/QwenLM/qwen-code>

```bash
npm install -g @qwen-code/qwen-code@latest
```

```bash
vim .env
```

```bash
OPENAI_API_KEY=your_api_key_here
OPENAI_BASE_URL=your_api_endpoint
OPENAI_MODEL=your_model_choice
```

```bash
qwen
```

## Claude-code

<https://www.npmjs.com/package/@anthropic-ai/claude-code>

```bash
npm install -g @anthropic-ai/claude-code
```

```
claude
```

## Referencias

* <https://support.anthropic.com/en/articles/9797557-usage-limit-best-practices>


---

# 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://www.xtormin.com/general/ia/ejecucion-de-ia-via-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.
