Download and install
Paste this command in your terminal and hit enter
git clone https://github.com/vim/vim.git

After that go to the vim folder and then the src folder to do that paste this command into your terminal
cd vim/src




And now it’s our final step just type make and hit enter
make



