chore: Update navigation structure in documentation

This commit is contained in:
SebasKoedam
2024-05-08 12:32:54 +02:00
parent 65282cc57a
commit c777ca738e
9 changed files with 174 additions and 6 deletions

View File

@@ -0,0 +1,83 @@
# NodeJs Setup
https://pimylifeup.com/raspberry-pi-nodejs/
## Installation
1. Update the package list and install the dependencies by running the following commands:
```bash
sudo apt update
sudo apt install -y build-essential libssl-dev
```
2. Download the Node.js source code by running the following command:
```bash
wget https://nodejs.org/dist/v14.15.4/node-v14.15.4.tar.gz
```
3. Extract the Node.js source code by running the following command:
```bash
tar -xzf node-v14.15.4.tar.gz
```
4. Change to the extracted directory by running the following command:
```bash
cd node-v14.15.4
```
5. Configure the Node.js source code by running the following command:
```bash
./configure
```
6. Compile the Node.js source code by running the following command:
```bash
make -j4
```
7. Install the Node.js source code by running the following command:
```bash
sudo make install
```
8. Verify that Node.js has been installed by running the following command:
```bash
node -v
```
9. Verify that npm has been installed by running the following command:
```bash
npm -v
```
## Conclusion
You should now have Node.js installed on your Raspberry Pi. This installation will allow you to run JavaScript applications on your device.