"/><metaproperty="og:image"content="https://docusaurus.io/img/docusaurus.png"/><metaname="twitter:card"content="summary"/><metaname="twitter:image"content="https://docusaurus.io/img/docusaurus.png"/><linkrel="shortcut icon"href="/img/docusaurus.ico"/><linkrel="stylesheet"href="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.css"/><linkrel="stylesheet"href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/atom-one-dark.min.css"/><linkrel="alternate"type="application/atom+xml"href="https://docusaurus.io/blog/atom.xml"title="Docusaurus Blog ATOM Feed"/><linkrel="alternate"type="application/rss+xml"href="https://docusaurus.io/blog/feed.xml"title="Docusaurus Blog RSS Feed"/><script>
</script></span><liclass="navSearchWrapper reactNavSearchWrapper"><inputtype="text"id="search_input_react"placeholder="Search"title="Search"/></li></ul></nav></div></header></div></div><divclass="navPusher"><divclass="docMainWrapper wrapper"><divclass="container docsNavContainer"id="docsNav"><navclass="toc"><divclass="toggleNav"><sectionclass="navWrapper wrapper"><divclass="navBreadcrumb wrapper"><divclass="navToggle"id="navToggler"><i></i></div><h2><i>›</i><span>Getting Started</span></h2><divclass="tocToggler"id="tocToggler"><iclass="icon-toc"></i></div></div><divclass="navGroups"><divclass="navGroup"><h3class="navGroupCategoryTitle">Getting Started</h3><ul><liclass="navListItem navListItemActive"><aclass="navItem"href="/docs/tr/installation">Installation</a></li><liclass="navListItem"><aclass="navItem"href="/docs/tr/site-preparation">Site Preparation</a></li><liclass="navListItem"><aclass="navItem"href="/docs/tr/site-creation">Creating your site</a></li><liclass="navListItem"><aclass="navItem"href="/docs/tr/publishing">Publishing your site</a></li><liclass="navListItem"><aclass="navItem"href="/docs/tr/docker">Docker</a></li></ul></div><divclass="navGroup"><h3class="navGroupCategoryTitle">Guides</h3><ul><liclass="navListItem"><aclass="navItem"href="/docs/tr/adding-blog">Adding a Blog</a></li><liclass="navListItem"><aclass="navItem"href="/docs/tr/custom-pages">Custom Pages</a></li><liclass="navListItem"><aclass="navItem"href="/docs/tr/search">Enabling Search</a></li><liclass="navListItem"><aclass="navItem"href="/docs/tr/navigation">Navigation and Sidebars</a></li><liclass="navListItem"><aclass="navItem"href="/docs/tr/translation">Translations & Localization</a></li><liclass="navListItem"><aclass="navItem"href="/docs/tr/versioning">Versioning</a></li></ul></div><divclass="navGroup"><h3class="navGroupCategoryTitle">API</h3><ul><liclass="navListItem"><aclass="navItem"href="/docs/tr/commands">CLI Commands</a></li><liclass="navListItem"><aclass="navItem"href="/docs/tr/doc-markdown">Markdown Features</a></li><liclass="navListItem"><aclass="navItem"href="/docs/tr/api-pages">Pages and Styles</a></li><liclass="navListItem"><aclass="navItem"href="/docs/tr/site-config">siteConfig.js</a></li></ul></div></div></section></div><script>
</script></nav></div><divclass="container mainContainer"><divclass="wrapper"><divclass="post"><headerclass="postHeader"><aclass="edit-page-link button"href="https://crowdin.com/project/docusaurus/tr"target="_blank"rel="noreferrer noopener">Translate</a><h1class="postHeaderTitle">Installation</h1></header><article><div><span><p>Docusaurus was designed from the ground up to be easily installed and used to get your website up and running quickly.</p>
<p>We have created an easy script that will get all of the infrastructure set up for you:</p>
<ol>
<li><p>Ensure you have the latest version of <ahref="https://nodejs.org/en/download/">Node</a> installed. We also recommend you install <ahref="https://yarnpkg.com/en/docs/install">Yarn</a> as well.</p>
<blockquote>
<p>You have to be on Node >= 8.x and Yarn >= 1.5.</p>
<p>You will be creating the docs in this directory. The root directory may contain other files. The Docusaurus installation script will create two new directories: <code>docs-examples-from-docusaurus</code> and <code>website</code>.</p>
<blockquote>
<p>Commonly, either an existing or newly created GitHub project will be the location for your Docusaurus site, but that is not mandatory to use Docusaurus.</p>
</blockquote></li>
<li><p>Run the Docusaurus installation script: <code>npx docusaurus-init</code>.</p>
<blockquote>
<p>If you don't have Node 8.2+ or if you prefer to install Docusaurus globally, run <code>yarn global add docusaurus-init</code> or <code>npm install --global docusaurus-init</code>. After that, run <code>docusaurus-init</code>.</p>
<p>After running the Docusaurus initialization script, <code>docusaurus-init</code> as described in the <ahref="#installing-docusaurus">Installation</a> section, you will have a runnable, example website to use as your site's base. To run:</p>
<ol>
<li><p>In your root, rename <code>docs-examples-from-docusaurus</code> to <code>docs</code>.</p></li>
<li><p><code>cd website</code></p></li>
<li><p>Rename <code>blog-examples-from-docusaurus</code> to <code>blog</code>.</p></li>
<li><p>From within the <code>website</code> directory, run the local webserver using <code>yarn start</code> or <code>npm start</code>.</p></li>
<li><p>Load the example site at <ahref="http://localhost:3000">http://localhost:3000</a> if it did not already open automatically.</p>
<p>You should see the example site loaded in your web browser. There's also a LiveReload server running and any changes made to the docs and files in the <code>website</code> directory will cause the page to refresh.</p></li>
<p>If you are behind a corporate proxy, you need to disable it for the development server requests. It can be done using the <code>NO_PROXY</code> environment variable.</p>
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
<p>You will see something like this:</p>
<pre><codeclass="hljs">$ yarn outdated
Using globally installed version of Yarn
yarn outdated v1.5.1
warning package.json: No license field
warning No license field
info Color legend :
"<red>" : Major Update backward-incompatible updates
"<yellow>" : Minor Update backward-compatible features
<p>If you are finding that you are getting errors after your upgrade, try to either clear your Babel cache (usually it's in a <ahref="https://babeljs.io/docs/en/babel-register/#environment-variables">temporary directory</a> or run the Docusaurus server (e.g., <code>yarn start</code>) with the <code>BABEL_DISABLE_CACHE=1</code> environment configuration.</p>
</span></div></article></div><divclass="docs-prevnext"><aclass="docs-next button"href="/docs/tr/site-preparation"><span>Site Preparation</span><spanclass="arrow-next"> →</span></a></div></div></div><navclass="onPageNav"><ulclass="toc-headings"><li><ahref="#installing-docusaurus">Installing Docusaurus</a></li><li><ahref="#kurulumu-doğrulama">Kurulumu doğrulama</a></li><li><ahref="#running-the-example-website">Running the example website</a><ulclass="toc-headings"><li><ahref="#launching-the-server-behind-a-proxy">Launching the server behind a proxy</a></li></ul></li><li><ahref="#updating-your-docusaurus-version">Updating Your Docusaurus Version</a></li></ul></nav></div><footerclass="nav-footer"id="footer"><sectionclass="sitemap"><ahref="/"class="nav-home"><imgsrc="/img/docusaurus_monochrome.svg"alt="Docusaurus"width="66"height="58"/></a><divclass="footerSection"><h5>Docs</h5><ahref="