Local Machine Setup - Mac
This guide is recommended for advanced users setting up Formbricks on a Mac machine.
Requirements:
Steps:
-
Clone the project & change directory:
git clone https://github.com/formbricks/formbricks && cd formbricks
-
Setup NodeJS with nvm:
-
Install NodeJS packages with pnpm:
-
Create a
.env file from the example:
-
Generate & set secret values (using BSD sed syntax for macOS):
sed -i '' '/^ENCRYPTION_KEY=/s|.*|ENCRYPTION_KEY='$(openssl rand -hex 32)'|' .env
sed -i '' '/^NEXTAUTH_SECRET=/s|.*|NEXTAUTH_SECRET='$(openssl rand -hex 32)'|' .env
sed -i '' '/^CRON_SECRET=/s|.*|CRON_SECRET='$(openssl rand -hex 32)'|' .env
-
Start the development setup:
Visit http://localhost:3000 to access Formbricks.
Ensure you create a new account at first login.