# Aptos Move Commands

1. **Compile Move Code**:

   ```bash
   aptos move compile
   ```

   This command compiles your Move code into bytecode that can be deployed to the Aptos blockchain. It checks for syntax errors and ensures that your Move modules are ready for deployment.
2. **Test Move Code**:

   ```bash
   aptos move test
   ```

   This command runs tests defined in your Move code. It executes the test functions to verify that your smart contracts work as expected, helping to catch bugs and ensure reliability before deploying.
3. **Publish Move Code**:

   ```bash
   aptos move publish
   ```

   This command deploys the compiled Move modules to the Aptos blockchain. Once published, the Move modules become part of the blockchain state and can be interacted with by other smart contracts and transactions.

[**Learn More About Move Language**](https://aptos.dev/en/build/smart-contracts)

This guide is ideal for developers new to Move and those looking to deepen their technical skills in building decentralized applications on the Aptos blockchain.


---

# 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://deepakrajas-organization.gitbook.io/aptos-move-docs/smart-contracts-move/editor/aptos-move-commands.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.
