 % This file is public domain
 % If you want to use arara, you need the following directives:
 % arara: pdflatex
 % arara: makeglossaries
 % arara: pdflatex
\documentclass{article}

\usepackage{glossaries}

\makeglossaries

\newglossaryentry{apple}{name={apple},description={a fruit}}

\begin{document}

\Gls{apple} or \gls{apple} or \glspl{apple}.

\printglossaries

\end{document}
