> For the complete documentation index, see [llms.txt](https://move-developers-dao.gitbook.io/aptos-move-by-example/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://move-developers-dao.gitbook.io/aptos-move-by-example/set-up.md).

# Set-Up

**Install Move IDE**

To install it you'll need:

1. VSCode (version 1.43.0 and above) - you can [get it here](https://code.visualstudio.com/download); if you already have one - proceed to the next step;
2. Move-Analyzer IDE - once VSCode is installed, follow [this link](https://marketplace.visualstudio.com/items?itemName=move.move-analyzer) to install the newest version of IDE.

**Install Aptos CLI**

You can [get it here.](https://aptos.dev/tools/install-cli/)

**Running code using aptos CLI:**

Firstly you folder structure should be like this:

```sh
move_project
      |-sources
           |-first.move
      |Move.toml
```

**first.move:**

```rust
module my_addrx::Sample
{
    use std::debug;

    fun sample_function()
    {
        debug::print(&12345);
    }

    #[test]
    fun testing()
    {
        sample_function();
    }
}
```

**Move.toml:**

```toml
[package]
name = "move_project"
version = "0.0.0"

[dependencies]
AptosFramework = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/aptos-framework", rev = "mainnet" }

[addresses]
my_addrx = "0x42"
std = "0x1"
```

**Compile the module:**

Run `aptos move compile` in vscode terminal for compiling the module.

**Test the module:**

Run `aptos move test` in vscode terminal for running the unit test.

{% hint style="info" %}
Check [this out](https://aptos.dev/tools/aptos-cli/use-cli/use-aptos-cli) for more information on Aptos CLI.
{% endhint %}


---

# 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://move-developers-dao.gitbook.io/aptos-move-by-example/set-up.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.
