A good reference is the Hirsch's book "Differential Topology", page 134. If you don't have the book, I will write here the proof:
" Let $P$ the north pole and $Q=-P$ the south pole. Let $\sigma: S^n - P \rightarrow \mathbb{R}^n$ and $\tau: S^n - Q \rightarrow \mathbb{R}^n$ be the stereographic projections. The coordinate change $\tau \sigma^{-1}= \sigma \tau^{-1}: \mathbb{R}^n-0 \rightarrow \mathbb{R}^n-0$ is given by $x\mapsto \frac{x}{|x|^2}$.
Let $f$ be the vector field on $S^n-P$ whose representation via $\sigma$ is the identity vector field on $\mathbb{R}^n$. Then $f(x) \rightarrow 0$ as $x \rightarrow P$ and we define $f(P)=0$. Thus, $f:S^n \rightarrow TS^n$ has zeroes only at $P$ and $Q$.
In $\tau$ coordinates $f$ corresponds to the vector field $x \mapsto -x$ on $S^n-Q$. Thus $f$ is $C^{\infty}$.
The idendity map of $\mathbb{R}^n$ has degree $1$ or $0$, the antipodal map has degree $(-1)^n$. Therefore $Ind_P f=1$, $Ind_Q f=(-1)^n$.
Thus, we have proved $\chi(S^n)=1+(-1)^n$ "