Natural powers
Usually we define natural number powers first. This works in any structure with multiplication.
$x^0 = 1$ for any real $x$.
$x^{n+1} = x^n x$ for any real $x$ and natural number $n$.
Integer powers
Then we define integer powers. This works for all elements with multiplicative inverse. For real numbers every element has a multiplicative inverse except $0$.
$x^{-n} = \frac{1}{x^n}$ for any real $x \ne 0$ and natural number $n$.
Rational powers
Then we define $n$-th roots. This is where it starts to get hairy, because there are two natural (and commonly used) definitions that are completely incompatible. You have to know exactly which one is used in any given situation.
$\def\rr{\mathbb{R}}$
$\def\qq{\mathbb{Q}}$
$\def\zz{\mathbb{Z}}$
In this answer I only describe real exponentiation.
$\sqrt[n]{x}$ is the real number $y > 0$ such that $y^n = x$, for any real $x > 0$ and even integer $n > 0$.
$\sqrt[n]{x}$ is the unique real number $y$ such that $y^n = x$, for any real $x$ and odd integer $n > 0$.
The first is valid because you can prove that $( t \mapsto t^n )$ is strictly increasing on $\rr_{\ge 0}$ and its range is $\rr_{\ge 0}$.
The second is valid because you can prove that $( t \mapsto t^n )$ is strictly increasing on $\rr$ and its range is $\rr$.
After that we define rational powers.
$x^q = \sqrt[n]{x}^m$ for any real $x$ and rational $q$ where $m,n$ are coprime integers such that $n > 0$ and $q = \frac{m}{n}$, and we require $x > 0$ if $n$ is even.
Note that this is valid because firstly we have defined the components above, and secondly every rational number can be uniquely written as the ratio of coprime integers with the denominator being positive. If it is not unique our definition is meaningless until proven otherwise.
Now we need some basic properties, the first two of which are proven by induction. (There is no escape from induction!)
$x^m \le x^n$ for any real $x \ge 1$ and integers $m,n$ such that $m \le n$.
$x^m \ge x^n$ for any real $x$ such that $0 < x \le 1$ and integers $m,n$ such that $m \le n$.
$x^q \le x^r$ for any real $x \ge 1$ and rational $q,r$ such that $q \le r$.
$x^q \ge x^r$ for any real $x$ such that $0 < x \le 1$ and rational $q,r$ such that $q \le r$.
Real powers
Finally we define real exponentiation.
$x^y = \sup( \{ x^q : q \in \qq \land q \le y \} )$ for any real $x \ge 1$ and real $y \ge 0$.
$x^y = \sup( \{ x^q : q \in \qq \land q \ge y \} )$ for any real $x$ such that $0 < x \le 1$ and real $y \ge 0$.
$x^{-y} = \frac{1}{x^y}$ for any real $x > 0$ and real $y \ge 0$.
This is not so trivial, and to prove it valid we need to prove that the set involved has an upper bound in $\rr$. We need:
$x^q \le x^{ceil(y)}$ for any real $x \ge 1$ and real $y$ and rational $q < y$ where $ceil(y)$ is the smallest integer $z \ge y$.
$x^q \le x^{floor(y)}$ for any real $x$ such that $0 < x \le 1$ and real $y$ and rational $q < y$ where $floor(y)$ is the largest integer $z \le y$.
These can be proven by using the above-mentioned properties and carefully considering all the cases. Note that rational powers of $x$ have already been defined, so this is not circular. The only ingredient that is missing (did you notice it?) is that it was not proven that $ceil$ and $floor$ are validly defined. Indeed to verify them, we need to use the completeness axiom of the real numbers. Here is a rough sketch:
If we have a real $y \ge 0$ such that there is no integer $z \ge y$, then by the completeness axiom $\zz$ has a supremum $s$ since it contains $0$ and has upper bound $y$ in $\rr$. By property of supremum, since $s-1 < s$ we can find an integer $k > s-1$ such that $k \in \zz$. But then $k+1 \in \zz$ and $k+1 > s$, contradicting the definition of $s$.
Therefore for any real $y \ge 0$ we have some integer $z \ge y$. And now we use induction to prove that there is a smallest such integer. This gives us $ceil(y)$. Likewise for $y \le 0$, and similarly for $floor$.
Thus we are done defining real powers. It remains a lot of tedious work to prove even basic properties of real exponentiation.
Comments
Notice that we did not define general real powers of non-positive real numbers, because there is no real meaningful way to do so.
I used $ceil$ and $floor$ for ease of reading the first time. Standard notation is $\lceil x \rceil = ceil(x)$ and $\lfloor x \rfloor = floor(x)$.
Details of all the above definitions and proofs should be carefully worked out, and ought to be present in any decent real analysis textbook.