Please give more information:
Operating system
Source of KiCad (install procedure)
KiCad version (KiCad->help-> About KiCad->Copy Version Info) and paste the contents here.
Did you have a previous ngspice installation? Better remove it before installing KiCad.
ngCM_Input_Path is available since ngspice-38 (current version is ngspice-42).
This is a rather serious bug in KiCAD’s installation procedure. It is often necessary to run SPICE simulations outside of KiCAD due to the limitations of the Spice Simulator under KiCAD.
A possible intermediate remedy may be to compile standard ngspice from sources yourself. If this is directed to /usr/local/bin and /usr/local/lib, it will not interfere with ngspice installed and used by KiCad.