{
 "cells": [
  {
   "cell_type": "raw",
   "id": "d0940f62",
   "metadata": {},
   "source": [
    "---\n",
    "summary: Summary of the post.\n",
    "title: Installation\n",
    "---"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "3ac1edc6",
   "metadata": {},
   "source": [
    "By the end of this step, Yera will be installed on your machine.\n",
    "\n",
    "Yera requires python 3.10 and above, and is available via [`PyPI`](https://pypi.org/project/yera/).\n",
    "We recommend [`uv`](https://docs.astral.sh/uv/)\n",
    "\n",
    "## Install from PyPI\n",
    "\n",
    "```bash\n",
    "uv add yera\n",
    "```\n",
    "\n",
    "If you prefer `pip`:\n",
    "\n",
    "```bash\n",
    "pip install yera\n",
    "```\n",
    "\n",
    "The standard install includes support for Anthropic, OpenAI, Azure, and AWS\n",
    "out of the box.\n",
    "\n",
    "### Optional Extras\n",
    "\n",
    "To run models locally, install the relevant optional extra:\n",
    "\n",
    "- Llama-cpp: `uv add yera[llama-cpp]`\n",
    "- Ollama: `uv add yera[ollama]`\n",
    "\n",
    "## Verifying the Install\n",
    "\n",
    "Confirm Yera is installed correctly by running:\n",
    "\n",
    "```bash\n",
    "yera --version\n",
    "```\n",
    "\n",
    "You should see the current version printed in your terminal. If you see an\n",
    "error instead, check that your Python environment is active.\n",
    "\n",
    "### Windows\n",
    "\n",
    "On some Windows setups the `yera` entry point isn't added to\n",
    "your PATH automatically. If the command above isn't found, use\n",
    "`python -m yera.cli` instead — it behaves identically. Anywhere these\n",
    "tutorials use `yera`, you can substitute `python -m yera.cli`.\n",
    "Alternatively, you can [add the Scripts directory to your PATH](https://docs.python.org/3/using/windows.html)\n",
    "to use `yera` directly.\n",
    "\n",
    "## Next\n",
    "\n",
    "Now you have Yera installed, the next step is to configure it."
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "name": "python"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
