# Getting started

This section will guide you through the installation of `secretvm-cli` and the initial steps to begin using the tool.

## Prerequisites

Before installing `secretvm-cli`, please ensure you have the following:

* **Node.js and npm:** `secretvm-cli` is a Node.js application distributed via npm (Node Package Manager). You'll need Node.js (which includes npm) installed on your system. You can download it from [nodejs.org](https://nodejs.org/).
* **Keplr Wallet:** For authentication using the `auth login` command, you will need to have a Keplr wallet and its address.

## Installation

To install `secretvm-cli` globally on your system, open your terminal or command prompt and run the following npm command:

```bash
npm install -g secretvm-cli
```

This command downloads the package from the npm registry and makes the `secretvm-cli` command available in your system's PATH.

## Verify Installation

After the installation is complete, you can verify that `secretvm-cli` is installed correctly by checking its version:

```bash
secretvm-cli --version
```

This should display the installed version of the CLI (e.g. 0.1.0)

You can also view the list of available commands and global options by running:

```bash
secretvm-cli --help
```

## Interactive mode

It is possible to use SecretVM CLI in interactive mode with prompts and human-readable output. For this you can pass `-i` or `--interactive` flag to `secretvm-cli`. If not set, commands will output JSON.

```bash
secretvm-cli -i auth login
```


---

# 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.scrt.network/secret-network-documentation/secretvm-confidential-virtual-machines/secretvm-cli/getting-started.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.
