Setting Up
This tutorial is geared at first-time users who want detailed instructions on how to go from zero to a Docusaurus website that has versions. Let's start!
- Install Git
Git is a version control system for tracking changes in source code during software development and it can help you synchronize and version files between your local system and your online repository. If not already installed, see Installing Git.
+Git is a version control system for tracking changes in source code during software development and it can help you synchronize and version files between your local system and your online repository. Git for Windows includes Git Bash, a terminal application. If not already installed, see Installing Git.
Install Node.js
Node.js is an environment that can run JavaScript code outside of a web browser and is used to write and run server-side JavaScript apps. Node.js installation includes npm
, the package manager that allows you to install NPM modules from your terminal.
-
-
- Open your Terminal. +
- Open Terminal on a Mac, Linux, or Unix system. Open Git Bash on a Windows system.
- If you have
brew
on your OS, run the following command to install Node.
brew install node
@@ -118,7 +118,7 @@ v8.15.1

-- In your terminal,
cd
to a directory where the local clone will be a subdirectory. (For help see Introduction to the command-line interface.)
+- In Terminal or Git Bash,
cd
to a directory where the local clone will be a subdirectory.
cd /Users/NAME/doc_projects # macOS example
# or
@@ -139,7 +139,7 @@ git clone https://github.com/USERNAME/docusau
or if you have Yarn:
yarn global add docusaurus-init
-