Check out the AsterixDB master in one folder via git in the command line. Assuming you are in the directory where you want an asterixDB clone.
git clone [https://github.com/apache/asterixdb/](https://github.com/apache/asterixdb/)
Now go into asterixdb directory and install maven dependencies.
cd asterixdb/ mvn install -DskipTests
mvn clean package -DskipTests
Now your codebase is cloned and dependencies installed.