Runtime Setup
This tutorial guides you through setting up a VuePress runtime environment.
Editor
You need an editor to edit your project. We recommend using VS Code to write and run your VuePress projects.
Click the blue button on the left of the Download page to download.
Double-click the installation package to open.
Agree to the User Agreement.
In the installation options, make sure to select all the following options:
Check Add to directory context menu, Add to file context menu, Register code as a supported file editor, Add to path.
After the initial startup of VS Code, if Git is not installed in advance, it may prompt that Git software is not found. Just ignore it.
Node.js
Introduction
Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
You need to download and install the latest long-term support (LTS) release.
- Click the download button on the official website.
- Run the installer, keep all default settings, and proceed through all steps to finish.
Warning
If you are a complete beginner, please do not change the default installation directory.
Node.js itself will only take up a few dozen megabytes of space!
After you install Node.js, enable corepack with the following command (Windows users need to run with administrator privileges):
corepack enable
Tips
We recommend using pnpm as your package manager, because VuePress and VuePress Theme Hope both use pnpm to manage dependencies.
Some features of pnpm ensure that you have the correct dependencies, and it can also speed up your installation.
Changelog
6ca3e
-on778fa
-ond45e2
-on492b3
-on5a635
-ond45fd
-on52428
-onee68e
-onf2189
-ona0c8a
-on06c47
-on80e15
-onf7e60
-on437a1
-on8e16a
-onec469
-onbcdf4
-on6e564
-onca46a
-on6051e
-on49169
-ond8a69
-onf4127
-onb1302
-on570c6
-onad52b
-on1bd08
-one07b5
-on354ec
-onfd395
-on9e3b2
-on