First Project
Open a web project, run the dev server, and make your first edit in Shape.
This tutorial walks through opening an existing web project, running it locally, and saving a small change. It assumes Shape is installed on Windows.
Open the project
- Launch Shape.
- Click Open Project on the welcome screen (or File → Open Folder, Ctrl+K Ctrl+O).
- Select a folder that contains a
package.json(your own app or a cloned repo).
The Explorer sidebar lists project files. Click package.json to inspect scripts and dependencies.
Install dependencies
- Open the terminal with Ctrl+` or the titlebar panel toggle.
- Run your package manager install command:
npm installUse pnpm install, yarn, or bun install if that is what the project expects.
Wait for install to finish before starting the dev server.
Start the dev server
Option A: click Scripts in the titlebar and choose dev (or start).
Option B: type in the terminal:
npm run devThe terminal shows the local URL (often http://localhost:3000 or similar). Open the Browser tab (Chrome icon on the activity bar, or View → Preview) and enter that URL. Use design mode (palette, Ctrl+Shift+D) to inspect the page and apply layout or color changes to source.
Edit a file
- Press Ctrl+P and type the name of a component or page file.
- Make a visible change (for example edit a heading string).
- Save with Ctrl+S. The browser should hot-reload if the dev server supports it.
Check for problems
Press Ctrl+Shift+M to open the Problems panel. Fix any TypeScript or ESLint issues the project reports.
Try AI Ask mode
- Open AI Chat from the titlebar.
- Select Ask mode.
- Ask: "What does the main entry file do?"
Review the answer without applying edits. Sign in with a Shape account if prompted.
What you learned
- Open folders and navigate with Ctrl+P
- Run scripts from the titlebar or terminal
- Preview the app in the Browser tab and use visual design
- Save files and read diagnostics
- Ask questions in read-only AI mode