Automated install script
Windows 10 or 11
- Download install-windows.ps1
- Run
./install-windows.ps1
in PowerShell as a normal user, and accept any UAC prompts that pop up. The installation should take around 8 minutes. If an installer doesn't pop up, don't be alarmed.
Ubuntu, Linux Mint, Arch Linux, Manjaro
- Download install-linux.sh
- Run
install-linux.sh
as a normal user. It will use sudo when elevation is required. The installation should be done in 3 minutes.
Manual install
Windows
Windows 11
-
Open Powershell in Windows Terminal (Commands will be in parentheses)
-
Open VS Code, and go to
Help
>About
in the top toolbar. -
Install/update Git for Windows (
winget install Git.Git
) -
Install the version of NodeJS.LTS corresponding to your Visual Studio Code version. This can be found in
Help
>About
in the toolbar. (winget install OpenJS.NodeJS.LTS --version <NodeJS version>
)- This prevents a NODE_MODULE_VERSION conflict between Mind Reader and VSCode
-
Use node package manager to install
electron-rebuild
andvsce
(npm install -g electron-rebuild vsce
) -
Change to your git directory, or create one. I recommend
C:/Users/<username>/git
; i.e.C:/Users/example/git
-
Clone the repository using (
git clone https://github.com/We-Dont-Byte/Mind_Reader.git
) -
Install dependencies (
npm install
) -
Rebuild Electron using the Electron Version from the About page. (
electron-rebuild --version <Electron version>
)- This will rebuild the
serial_port
Node Native Module. Without this module, Mind Reader will fail to register its commands.
- This will rebuild the
-
Repeat steps 5-8 each time Visual Studio Code updates.
Windows 10
-
Install/update Git for Windows
-
Open VS Code, and go to
Help
>About
in the top toolbar. -
Install the version of NodeJS.LTS corresponding to your Visual Studio Code version. This can be found in the About page.
-
Open Windows Powershell (Win+R, "powershell", Enter)
-
Use node package manager to install
electron-rebuild
andvsce
(npm install -g electron-rebuild vsce
) -
Change to your git directory, or create one. I recommend
C:/Users/<username>/git
; i.e.C:/Users/example/git
-
Clone the repository using (
git clone https://github.com/We-Dont-Byte/Mind_Reader.git
) -
Install dependencies (
npm install
) -
Rebuild Electron using the Electron Version from the About page. (
electron-rebuild --version <Electron version>
) -
Repeat steps 4-8 each time Visual Studio Code updates.