> For the complete documentation index, see [llms.txt](https://docs.iotex.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.iotex.io/blockchain/build/web3-development/ioctl-cli/create-accounts.md).

# Create Accounts

Let's begin with creating a new IoTeX wallet [account](broken://pages/-MYBDY8pL_gDdUwoFDnK): similarly to any blockchain wallet app where you can "*create a new wallet"*, this operation consists of [generating a random private key](broken://pages/-MYz9JaCupbQRUWgY03x) 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.iotex.io/blockchain/build/web3-development/ioctl-cli/create-accounts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
