Setup Movement Env
Last updated
Was this helpful?
Last updated
Was this helpful?
Binary releases are available, but if you want to build from source or develop on the Aptos tools, this is how.
Aptos can be built on various operating systems, including Linux, macOS. and Windows. Aptos is tested extensively on Linux and macOS, and less so on Windows. Here are the versions we use:
Linux - Ubuntu version 20.04 and 22.04
macOS - macOS Monterey and later
Microsoft Windows - Windows 10, 11 and Windows Server 2022+
Install . Git is required to clone the aptos-core repo, and will be need to be installed prior to continuing. You can install it with the instructions on the official .
Clone the Aptos repository. To clone the Aptos repository (repo), you first need to open a command line prompt (Terminal on Mac / Linux, Powershell on Windows). Then run the following command to clone the Git repository from GitHub.
Now let's go into the newly created directory movement-subnet by changing directory or cd
ing into it:
Prepare your developer environment by installing the dependencies needed to build, test and inspect Aptos Core. No matter your selected mechanism for installing these dependencies, it is imperative you keep your entire toolchain up-to-date. If you encounter issues later, update all packages and try again.
If you used scripts/dev_setup.sh
for MacOS or Linux setup, additional tools are optionally available.
TypeScript
Typically only needed for developing the TypeScript SDK. Using the released SDK can be achieved from npm/pnpm/yarn.
PostgreSQL
Used in the Indexer.
Move Prover Tools
Now your basic Aptos development environment is ready. Head over to our Developer Tutorials to get started in Aptos.
.
.
.
and
Install .
Install . Visit their GitHub repository for the .
Install . During setup, select "Desktop development with C++" and three additional options: MSVC C++ build tools, Windows 10/11 SDK, and C++ CMake tools for Windows.
If on Windows ARM, install .
If not already installed during Visual Studio/Build Tools installation, install .