Setup Movement Env
Building From Source
Binary releases are available, but if you want to build from source or develop on the Aptos tools, this is how.
Supported operating systems
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+
Clone the movement-subnet repo
Install Git. 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 Git website.
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:
Set up build dependencies
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.
Additional Tools
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.
Last updated