KENV is a solver code for the equation of the envelope of an electron beam with the Kapchinsky-Vladimirsky distribution for accelerator physics. It is particularly suitable for accelerating an electron beam in direct channels with solenoidal and quadrupole focusing