installing electron with yarn globally code example Example: js electron setup npm install electron --save-devCopy