# Starting a Pear Desktop Project In preparation for [Making a Pear Desktop Application](./making-a-pear-desktop-app.md) the following steps outline how to generate, configure, and develop a Pear Desktop Project. ## Step 1. Initialization To create a new Pear project use `pear init`. ``` $ mkdir chat $ cd chat $ pear init --yes ``` This will create a base structure for the project. - `package.json`. Configuration for the app. Notice the `pear` property. - `index.html`. The html for the app. - `app.js`. The main code. - `test/index.test.js`. Skeleton for writing tests. ## Step 2. Check that everything works Before writing any code, make sure that everything works the way it's supposed to by using `pear dev`. ``` $ pear dev ``` This will open the app in development mode, by default developer tools are also opened.  ## Step 3. Automatic reload By default Pear watches project files and automatically reloads the page when files change. This means that there is no need to stop and start the app again to see changes. While keeping the app open with `pear dev`, open `index.html` in a code editor. Try changing `