A way to turn KCl into KOH is needed
On an industrial scale, the preferred method for the production of potassium hydroxide from potassium chloride is electrolysis (diaphragm, mercury, or membrane process).

$$\begin{align}
\ce{2Cl- &amp;-&gt; Cl2 + 2e-}\\
\ce{2H2O + 2e- &amp;-&gt; H2 + 2OH-}\\
\hline
\ce{2Cl- + 2H2O &amp;-&gt; Cl2 + H2 + 2OH-}
\end{align}$$

or

$$\ce{2KCl + 2H2O -&gt; 2KOH + Cl2 + H2}$$