Neovim showing:Not an editor command when try to run Plug Install to use Vim Plug

Hello, recently when I try to install Plugins in Neovim using Vim Plug, after completing all the process, when I try to run PlugInstall, it shows the following message, “E492: Not an editor command: PlugInstall”. I have both Git and Node JS installed on my pc which runs Windows 10.

i would be really grateful if anyone kindly helps me.

Have you installed vim-plug using powershell? (Make sure your init.vim/init.lua is in C:\Users\username\AppData\local\nvim\)

Yes, I have installed vim plug using powershell. My init.vim is in C drive under Users>Admin but I have kept my nvim-win64 in D drive. Is this okay?

I don’t think that’ll be a problem, but I would suggest having the configuration file and the neovim executable in the same drive (just in case). Do you also have your init.vim in the directory I mentioned in the post above?

Yes, my init.vim is in the above mentioned directory.

have you used the example config for vim-plug?

Yes, i have done it exactly as mentioned in the example config

What’s inside C:\Users\username\AppData\Local\nvim-data\ ?

Sorry for necro but stuck exactly here.

In my case I have just tried the official install as suggested by the repo README.