Let $\mathfrak{g}$ be a Lie algebra over $\mathbb{K}=\mathbb{C}$ or $\mathbb{R}$ associated with the Lie group $G$. A smooth linear map $\delta:\mathfrak{g}\to\mathfrak{g}$ is a derivation of $\mathfrak{g}$ if$$\delta([X,Y])=[\delta(X),Y]+[X,\delta(Y)]$$ for all $X,Y\in\mathfrak{g}$. The automorphism group $\text{Aut}(G)$ is the set of all group isomorphism of $G$, which is itself a Lie group therefore has a Lie algebra $\mathfrak{Aut}(G)$ associated with it. Now consider the vector space of all derivations of $\mathfrak{g}$, denoted $\text{der}(\mathfrak{g})$, I am looking for a clear proof on the equality$$\text{der}(\mathfrak{g})=\mathfrak{Aut}(G)$$
It would be extremely helpful if one could explain it to me, thanks.
Edit: at this point I have realised that indeed $\mathfrak{Aut}(G)\cong\mathfrak{Aut}(\mathfrak{g})$ by Lie's first and second theorem, it is still not clear even from the answers provided in other posts how to make the connection to $\text{der}(\mathfrak{g})$.