How to install the vi text editor ONLY on the Cygwin installation

cygwin;

I have managed to install the Cygwin on my Windows Vista machine. I installed using the default settings.

When I try to do vi in the Bash shell, Bash tells me command not found. I believe I need to install the Cygwin editors package which include the vi editor. The nightmare is every time I run the Cygwin setup and select ONLY the editors package and specifically the Vim and select install, Cygwin setup tries to install all other packages, very frustrating!!

Is there an easier way of installing just a single package using the Cygwin setup utility?

Best Answer

There is a reason Cygwin also selects those other packages: vi (vim) depends on them. If you really don't like this, you'll have to build/find a statically linked version of vim, or just use a different version altogether, e.g. download the Windows executable from vim.org.

Related Question