- Create a local build of MetaMask using your preferred method.
- You can find build instructions in the readme.
- Note: Before building, make sure to update dependencies by running
yarn install
.
- Open
Settings
>Extensions
.- Or go straight to chrome://extensions.
- Check "Developer mode".
- At the top, click
Load Unpacked Extension
. - Navigate to your
metamask-extension/dist/chrome
folder. - Click
Select
. - Change to your locale via
chrome://settings/languages
- Restart the browser and test the extension in your locale
Your dev build is now added to Chrome, and you can click Inspect views background.html
in its card on the extension settings page to view its dev console.