The following steps are required to install and configure Open Lovable:
- Clone the project and install the dependencies: Use the command
git clone https://github.com/mendableai/open-lovable.git
Clone the project, go to the directory and runnpm install
Install the dependencies. - Configuring Environment Variables: Create the
.env.local
file, add the necessary API keys, including theE2B_API_KEY
(for sandbox environments),FIRECRAWL_API_KEY
(for web crawling) and a key from at least one AI provider (such as theANTHROPIC_API_KEY
,OPENAI_API_KEY
maybeGROQ_API_KEY
). - Running Projects: Implementation
npm run dev
Start the development server and access thehttp://localhost:3000
Available.
Note: Make sure that Node.js is installed on your computer (recommended version 16 or above) and that port 3000 is not occupied.
This answer comes from the articleOpen Lovable: using AI to quickly clone web pages into React appsThe