There are number of articles which can assit you to install AEM on your local machine as well as your server. I'll be linking them below. The basic requirements are that you will need to have the aem jar, license key and JAVA 8+.
In order to develop with AEM you need your own developers license. So you register on solution partner portal or adobe portal using your official company mail id . The request for license if your company is one solution partner.
The AEM installation process is very straightforward and consists of the following steps:
Obtain AEM 6.5 quickstart jar and AEM 6.5 Service Pack 6 files .
Developers AEM 6.5 license propertiescan be obtained by registration,
Unpack the AEM6.5 quickstart jar on command line:
java -jar cq-quickstart-6.5.0.jar -unpack
4. Copy the Service Pack package zip and acs-commons package zip file file into the crx- quickstart/install folder.
5. Start AEM Author for the first time from the command line: