{
  "title": "macOS / Linux",
  "content": "export PATH=\"$(npm prefix -g)/bin:$PATH\"\n```\n\nOn Windows, add the output of `npm prefix -g` to your PATH.\n\nThen open a new terminal (or `rehash` in zsh / `hash -r` in bash).\n\n## Update / uninstall\n\n* Updates: [Updating](/install/updating)\n* Migrate to a new machine: [Migrating](/install/migrating)\n* Uninstall: [Uninstall](/install/uninstall)",
  "code_samples": [],
  "headings": [
    {
      "level": "h2",
      "text": "Update / uninstall",
      "id": "update-/-uninstall"
    }
  ],
  "url": "llms-txt#macos-/-linux",
  "links": []
}