{"componentChunkName":"component---src-templates-simple-markdown-js","path":"/developer-portal/upgrade/","matchPath":"","result":{"data":{"markdownRemark":{"html":"<h1 style=\"position:relative;\"><a href=\"#upgrade-to-a-different-version\" aria-label=\"upgrade to a different version permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"upgrade-to-a-different-version\"></div>Upgrade to a different version</h1>\n<p>Make sure you have committed any changes prior to attempting an upgrade.\nIt's a good idea to isolate an upgrade to a single commit.</p>\n<h2 style=\"position:relative;\"><a href=\"#update-packagejson\" aria-label=\"update packagejson permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"update-packagejson\"></div>Update package.json</h2>\n<p>Find the <code class=\"language-text\">@redocly/developer-portal</code> in the <code class=\"language-text\">@dependencies</code> section of the <code class=\"language-text\">package.json</code> file.</p>\n<div class=\"code-wrapper\">\n        <div class=\"gatsby-code-button-container\"\n             data-toaster-id=\"16284439793284645000\"\n             data-toaster-duration=\"1500\"\n             onClick=\"copyCodeToClipboard(`  &quot;dependencies&quot;: {\n    &quot;@redocly/developer-portal&quot;: &quot;^1.1.0-beta.34&quot;\n  }`, `16284439793284645000`)\"\n        >\n          <div class=\"gatsby-code-button\" title=\"Copy the code snippet\">Copy</div>\n          <div class=\"done-indicator done-indicator-16284439793284645000\">Copied</div>\n        </div>\n        <div class=\"gatsby-highlight\" data-language=\"json\"><pre class=\"language-json\"><code class=\"language-json\">  <span class=\"token property\">\"dependencies\"</span><span class=\"token operator\">:</span> <span class=\"token punctuation\">{</span>\n    <span class=\"token property\">\"@redocly/developer-portal\"</span><span class=\"token operator\">:</span> <span class=\"token string\">\"^1.1.0-beta.34\"</span>\n  <span class=\"token punctuation\">}</span></code></pre></div>\n      </div>\n<p>Update the version there (note, this may be the most current version already).</p>\n<p>Check the <a href=\"https://www.npmjs.com/package/@redocly/developer-portal\">published versions on NPM</a>.</p>\n<div class=\"code-wrapper\">\n        <div class=\"gatsby-code-button-container\"\n             data-toaster-id=\"65660218413562670000\"\n             data-toaster-duration=\"1500\"\n             onClick=\"copyCodeToClipboard(`  &quot;dependencies&quot;: {\n    &quot;@redocly/developer-portal&quot;: &quot;^1.1.0-beta.35&quot;\n  }`, `65660218413562670000`)\"\n        >\n          <div class=\"gatsby-code-button\" title=\"Copy the code snippet\">Copy</div>\n          <div class=\"done-indicator done-indicator-65660218413562670000\">Copied</div>\n        </div>\n        <div class=\"gatsby-highlight\" data-language=\"json\"><pre class=\"language-json\"><code class=\"language-json\">  <span class=\"token property\">\"dependencies\"</span><span class=\"token operator\">:</span> <span class=\"token punctuation\">{</span>\n    <span class=\"token property\">\"@redocly/developer-portal\"</span><span class=\"token operator\">:</span> <span class=\"token string\">\"^1.1.0-beta.35\"</span>\n  <span class=\"token punctuation\">}</span></code></pre></div>\n      </div>\n<p>Save the file.</p>\n<h2 style=\"position:relative;\"><a href=\"#run-yarn-install\" aria-label=\"run yarn install permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"run-yarn-install\"></div>Run yarn install</h2>\n<div class=\"code-wrapper\">\n        <div class=\"gatsby-code-button-container\"\n             data-toaster-id=\"40806316296524956000\"\n             data-toaster-duration=\"1500\"\n             onClick=\"copyCodeToClipboard(`yarn install`, `40806316296524956000`)\"\n        >\n          <div class=\"gatsby-code-button\" title=\"Copy the code snippet\">Copy</div>\n          <div class=\"done-indicator done-indicator-40806316296524956000\">Copied</div>\n        </div>\n        <div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token function\">yarn</span> <span class=\"token function\">install</span></code></pre></div>\n      </div>\n<p>This command will upgrade to the newer version of the developer portal.</p>\n<h2 style=\"position:relative;\"><a href=\"#troubleshooting\" aria-label=\"troubleshooting permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"troubleshooting\"></div>Troubleshooting</h2>\n<p>If you hit a problem with the installation, you may want to try to delete your <code class=\"language-text\">yarn.lock</code> file and then <code class=\"language-text\">yarn install</code> again.\nSome dependencies are pinned based on the underlying OS or node version.</p>\n<div class=\"code-wrapper\">\n        <div class=\"gatsby-code-button-container\"\n             data-toaster-id=\"35716409751100550000\"\n             data-toaster-duration=\"1500\"\n             onClick=\"copyCodeToClipboard(`rm yarn.lock\nrm -rf node_modules\nyarn install\nyarn clean`, `35716409751100550000`)\"\n        >\n          <div class=\"gatsby-code-button\" title=\"Copy the code snippet\">Copy</div>\n          <div class=\"done-indicator done-indicator-35716409751100550000\">Copied</div>\n        </div>\n        <div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token function\">rm</span> yarn.lock\n<span class=\"token function\">rm</span> -rf node_modules\n<span class=\"token function\">yarn</span> <span class=\"token function\">install</span>\n<span class=\"token function\">yarn</span> clean</code></pre></div>\n      </div>\n<p>Still stuck? Contact us. We're happy to help.</p>","headings":[{"value":"Upgrade to a different version","depth":1},{"value":"Update package.json","depth":2},{"value":"Run yarn install","depth":2},{"value":"Troubleshooting","depth":2}]},"contentItem":{"data":{"lastModified":"2025-12-17T21:55:39.000Z","enableToc":null,"disableLastModified":null,"tocMaxDepth":null,"requestLogin":false}},"siteConfig":{"enableToc":true,"disableLastModified":false,"tocMaxDepth":4}},"pageContext":{"matchPath":"","id":"c76aeeb0-e61a-5534-8718-0a681e9aa5c2__redocly content/developer-portal/upgrade/","seo":{"title":"Upgrade to a different version","description":null,"image":"","keywords":null,"jsonLd":null,"lang":null},"pageId":"developer-portal/upgrade.md","pageBaseUrl":"/developer-portal/upgrade","type":"markdown","toc":{"enable":true,"maxDepth":4,"headings":[{"depth":1,"value":"Upgrade to a different version","id":"upgrade-to-a-different-version"},{"depth":2,"value":"Update package.json","id":"update-packagejson"},{"depth":2,"value":"Run yarn install","id":"run-yarn-install"},{"depth":2,"value":"Troubleshooting","id":"troubleshooting"}]},"data":{"title":""},"catalogInfo":null,"link":"/developer-portal/upgrade/","sidebarName":"","isLanding":false,"showPrevButton":null,"showNextButton":null,"apiVersions":null,"apiVersionId":null,"isDefaultApiVersion":null}},"staticQueryHashes":["1123603147","1180902673","1302185487","1344209882","1398840060","1520077861","1975142765","2667623876","2950305614","3743992808","561138138"]}