Docusaurus Pre-requisite
Requirements#
- Node.js version >= 12.13.0 or above (which can be checked by running
node -v). You can use nvm for managing multiple Node versions on a single machine installed - Yarn version >= 1.5 (which can be checked by running
yarn --version). Yarn is a performant package manager for JavaScript and replaces thenpmclient. It is not strictly necessary but highly encouraged.
Installation#
Install Node.js and npm from snap (the command will install both)
sudo snap install node --classicInstall Yarn via npm
npm install --global yarnCheck installation with
Node.js:
node -vnpm:
npm -vYarn:
yarn -v