git clone https://github.com/frappe/frappe-script-editor.git
cd frappe-script-editor
yarn install
yarn compile
2. Install Extension
Choose one of the following methods:
Method A: VS Code Command Palette (Recommended)
Open VS Code
Press Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux) to open the Command Palette
Type Developer: Install Extension from Location and select it
Navigate to and select the frappe-script-editor folder
Restart VS Code
Method B: Manual Installation
Copy the extension folder to your VS Code extensions directory:
# For macOS/Linux
cp -r frappe-script-editor ~/.vscode/extensions
# For Windows
xcopy /e /i frappe-script-editor %USERPROFILE%\.vscode\extensions\frappe-script-editor
Restart VS Code
Setup
1. Generate API Credentials in Frappe
Login to your Frappe site
Go to User > Your User > API Access
Generate a new API Key and API Secret
Save these credentials securely
2. Add Your Site in VS Code:
Open the Frappe Script Editor sidebar (click the Frappe icon in the Activity Bar)
Click "Add Site"
Enter:
Site Name — A friendly name for your site
Site URL — Your Frappe site URL (e.g., https://your-site.com)
API Key — The key generated above
API Secret — The secret generated above
Click Add Site
Usage
Browsing and Editing Scripts
Expand your connected site in the Frappe Script Editor sidebar
Click any script to open it in the editor
Make your changes and Save (Cmd/Ctrl + S)
Changes are automatically synced to your Frappe site