Vim configuration in macOS system

  question, vim

The configuration methods are all based on this post, but I don’t know where the problem is …
https://segmentfault.com/a/11 …

Last login: Mon Mar 12 00:40:24 on ttys000
 Harrys-MBP:~ harry.$ git clone  https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
 
 fatal: destination path '/Users/harry./.vim/bundle/Vundle.vim' already exists and is not an empty directory.
 
 [Bookmark added at 12: 41: 52 a.m. on March 12, 2018]
 
 Harrys-MBP:~ harry.$ touch ~/.vimrc
 
 [Bookmark added at 12: 41: 58 a.m. on March 12, 2018]
 
 Harrys-MBP:~ harry.$ set nocompatible              " required
 > filetype off                  " required
 Harrys-MBP:~ harry.$
 Harrys-MBP:~ harry.$ " set the runtime path to include Vundle and initialize
 > set rtp+=~/.vim/bundle/Vundle.vim
 > call vundle#begin()
 >
 > " alternatively, pass a path where Vundle should install plugins
 -bash:  set the runtime path to include Vundle and initialize
 set rtp+=~/.vim/bundle/Vundle.vim
 call vundle#begin()
 
 : No such file or directory
 Harrys-MBP:~ harry.$ "call vundle#begin('~/some/path/here')
 >
 > " let Vundle manage Vundle, required
 -bash: call vundle#begin('~/some/path/here')
 
 : No such file or directory
 Harrys-MBP:~ harry.$ Plugin 'gmarik/Vundle.vim'
 -bash: Plugin: command not found
 Harrys-MBP:~ harry.$
 Harrys-MBP:~ harry.$ " Add all your plugins here (note older versions of Vundle used Bundle instead of Plugin)
 > " All of your Plugins must be added before the following line
 -bash:  Add all your plugins here (note older versions of Vundle used Bundle instead of Plugin)
 : command not found
 Harrys-MBP:~ harry.$ call vundle#end()            " required
 -bash: syntax error near unexpected token `('
 Harrys-MBP:~ harry.$ filetype plugin indent on    " required

But then it runs in vim.:PluginInstallYou’ll make a mistake.

E492: Not an editor command: PluginInstall

What’s the matter? I just got in touch with vim and didn’t understand …

After touch ~/.vimrc
Execute vim ~/.vimrc to copy the following code.
No vim, use vi to execute.