Two versions of electron, one global and one local can't access local


#1

When I first installed electron I used the -g option and installed version 1.6.10 and completed one small project. I have since read that the preferred method is with the --save-dev option. I created an new project folder, ran npm init and then installed version 1.7.5 with the --save-dev option.

If I cd to the project folder and type electron, the window that opens says it is version 1.6.10. How can I run the local version of electron?

I am running linux Mint18 and I have both .npm/electron/1.6.10 and npm/electron/1.7.5 folders.

thanks, Jim