Setting up locally
6/29/26Less than 1 minute
Setting up locally
Installing node manager/installer
https://github.com/Schniz/fnm?tab=readme-ov-file#installation
- If rust is intalled then
cargo install fnm - Enable zsh integration for fnm by adding the line
eval "$(fnm env --use-on-cd --shell zsh)"to .zshrc - Store node version for a project in dir using
node --version > .node-version
Installing node
https://nodejs.org/en/download
- Download and install Node.js
fnm install 22 - Verify the Node.js version
node -v# Should print "v22.16.0" - Download and install pnpm
corepack enable pnpm - Verify pnpm version
pnpm -v
Setting up package.json
package.json can be setup in 2 ways, using:
- https://theme-reco.vuejs.press/en/docs/guide/getting-started.html#quick-start (dont forget to choose 2.x)
- https://theme-reco.vuejs.press/en/docs/guide/package-manager.html (we use pnpm so we include vue as well)
