# Create Accounts

Let's begin with creating a new IoTeX wallet [account](https://docs.iotex.io/blockchain/build/web3-development/ioctl-cli/broken-reference): similarly to any blockchain wallet app where you can "*create a new wallet"*, this operation consists of [generating a random private key](https://docs.iotex.io/blockchain/build/web3-development/ioctl-cli/broken-reference) and storing it in an encrypted file, protected by a password of your choice. It also allows you to set an *alias* for the newly created account (we will use the alias "*dev-acc*" alias in the following sections). Once the alias is set, it can be used instead of the account address in any **ioctl** command:

Create and store an IoTeX account and assign the "dev-acc" alias to it with command below:

```
ioctl account createadd dev-acc
```

**ioctl** will ask you to provide a password that will be used to encrypt your newly created account. From now on when using **ioctl** commands you can refer to this account by using the alias **dev-acc** and the password of your choice.

{% hint style="danger" %}
It's highly recommended that you get used to immediately backup your account passwords in a safe place when you create a new account. Losing your password means losing access to the private key: when you interact with the IoTeX mainnet, **losing access to your private key means you will lose all the funds that you have sent to that account. Forever!**
{% endhint %}

{% hint style="info" %}

### Where does ioctl store accounts data?

All accounts created in **ioctl**, as well as all the aliases, and other settings are stored locally on your computer, in the following path:

`~/.config/ioctl`

You can make a copy of this folder to port your **ioctl** settings and accounts to multiple computers.
{% endhint %}

Check out this introductory video to ioctl accounts management:

{% embed url="<https://youtu.be/Q-je019KGUA>" %}


---

# 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.iotex.io/blockchain/build/web3-development/ioctl-cli/create-accounts.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.
