Explain the problem here ...
Same error, I'm currently using windows and idk why it happens. The path i have is
I do the following:
1) Run the Windows NeoVim
iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |`
ni "$env:LOCALAPPDATA/nvim-data/site/autoload/plug.vim" -Force
2) Check the path
C:UsersalegaAppDataLocalnvim-datasiteautoload
3) Create a file to put the following code
"
call plug#begin(stdpath('data').'/plugged')
Plug 'dikiaap/minimalist'
call plug#end()
set t_Co=256
syntax on
colorscheme minimalist
"
4) Try tu run: PlugInstall
5) The error pops up -> E492: Not an editor command: PlugInstall
Is step 3 in your init.vim or within stdpath('data')?
Is step 3 in your init.vim or within
stdpath('data')?
Yes i had it all wrong. I finally manage to solve it been careful with the path and the location of the ini.vim file. I put it next to the plugin folder and did it this way.

The current path is this one:

No comments from @Mryehua to explain his situation.
@Alegarciy issue is resolved.
Most helpful comment
Yes i had it all wrong. I finally manage to solve it been careful with the path and the location of the ini.vim file. I put it next to the plugin folder and did it this way.
The current path is this one: