To intall ERPNext, you will have to install the <ahref="https://github.com/frappe/bench">Frappé Bench</a>, the command-line, package manager and site manager for Frappé Framework. For more details, read the Bench README.
This will create a new folder in your `/sites` directory and create a new database for this site.
Next, install erpnext in this site
bench --site mysite install-app erpnext
To run this locally, run
bench start
Fire up your browser and go to http://localhost:8000 and you should see the login screen. Login as **Administrator** and **admin** (or the password you set at the time of `new-site`) and you are set.