New-site vs sitename

Here it says bench new-site [site-name] while here it says bench --site sitename install-app hrms

Are these two different ?

No, just different ways to write the same thing

Hi @anjanesh,

bench new-site [sitename]

The above command creates a new ERPNext site with the specified name, setting up the necessary files and environment for it.

bench --site [sitename] install-app hrms

The above command installs the HRMS application into an existing ERPNext site with the specified name. It adds the HRMS functionality to the site.

Thank You!

1 Like