Requirements
System Requirements
Section titled “System Requirements”Before you start, make sure you have the following applications and their minimum versions installed, in addition to Node.js and pnpm (as mentioned earlier):
- Node.js 18.0.0 or later.
- pnpm 8.6.2 or later.
- macOS, Windows (including WSL), and Linux are supported.
Installing Node.js
Section titled “Installing Node.js”To install Node.js, follow the instructions based on your operating system:
-
For Windows or macOS, visit the official Node.js website: https://nodejs.org/ and download the latest or LTS version (18.0.0 or above). Run the installer and follow the setup wizard.
-
For Linux, you can use a package manager (nvm) or download the binaries from the official Node.js website. For example, using the package manager
apt
on Ubuntu:Terminal window sudo apt updatesudo apt install nodejsEnsure that the installed version is 18.0.0 or above:
Terminal window node --version
Installing pnpm
Section titled “Installing pnpm”To install pnpm, you can use npm, the Node.js package manager. Open your terminal or command prompt and run the following command:
npm install -g pnpm
Make sure that the installed version of pnpm is 8.6.2 or above:
pnpm --version
Alternatively you can also install it from its official website https://pnpm.io/.
Optional Requirements for a Local Database:
Section titled “Optional Requirements for a Local Database:”If you want to use a local database, it is recommended to install “brew” and “sqld”.
Installing brew
Section titled “Installing brew”To install brew, it is recommended to use brew.sh from https://brew.sh/ and follow its instructions.
Installing Turso
Section titled “Installing Turso”If you want to run Turso locally you can follow the instructions in the Turso CLI
Installing Bun
Section titled “Installing Bun”To install Bun, visit the official website https://bun.sh/