You are not logged in.

#1 2022-12-27 12:04

giuliohome
Member
Registered: 2022-12-27
Posts: 5

how to install node, npm and react dev env

Hello, first post and first day with Q4OS.
Selected due to 4GB memory win machine and I'm very happy with it! Because of the easy win install without partitioning and the very low memory/cpu resources consumption! It looks awesome! Thank you!

Now my question(s).

First of all, I see in the Info Center "Debian GNU/Linux 11". When I look for technical answers, should I consider the OS as such (Debian) or when is the q4os relevant.
For example in my case I want to build react, should I follow a tutorial like "How to install Node.js & NPM on Debian 11" (wow.. I can't post a link)  or is there anything specific/relevant to Q4OS that I would be missing?

Even a more basic version of the question. I started a terminal (Konsole) and tried launching vim but it is not there. Which is the correct way to install it?

apt install vim

Is it the way to go? Sorry for the trivial question, but I wanted to be sure (fyi I know very well Fedora and Ubuntu, I'm not inexperienced in using Linux, so to speak...)

Offline

#2 2022-12-27 12:13

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: how to install node, npm and react dev env

Welcome at the forum, your account has been promoted to be allowed to post links and attach files up to 300kB.

giuliohome wrote:

First of all, I see in the Info Center "Debian GNU/Linux 11". When I look for technical answers, should I consider the OS as such (Debian) or when is the q4os relevant. For example in my case I want to build react, should I follow a tutorial like "How to install Node.js & NPM on Debian 11" ..

Yes, as Q4OS is Debian based, you can safely follow Debian's instructions, tutorials and procedures.

giuliohome wrote:

... tried launching vim but it is not there. Which is the correct way to install it?

$ sudo apt install vim

Offline

#3 2022-12-27 12:17

giuliohome
Member
Registered: 2022-12-27
Posts: 5

Re: how to install node, npm and react dev env

Yep, tried with vim and the sudo apt install works as expected.
The only thing - before installing node, etc. - is that I'm perplexed about the space on /

giulio@q4os-pc:~$ df -h
df: /run/user/1000/doc: Operazione non permessa
File system     Dim. Usati Dispon. Uso% Montato su
udev            1,8G     0    1,8G   0% /dev
tmpfs           361M  7,3M    354M   2% /run
/dev/sda3       453G  357G     97G  79% /mnt/host
/dev/loop0       19G  7,2G     11G  42% /
tmpfs           1,8G   58M    1,8G   4% /dev/shm
tmpfs           5,0M  4,0K    5,0M   1% /run/lock
tmpfs           361M   68K    361M   1% /run/user/1000

Any tricks to maximize the usage of the space under /mnt/host when installing new things like node and its packages?
Thanks again

Last edited by giuliohome (2022-12-27 12:20)

Offline

#4 2022-12-27 12:18

giuliohome
Member
Registered: 2022-12-27
Posts: 5

Re: how to install node, npm and react dev env

Thank you very much! Awesome!

q4osteam wrote:

Welcome at the forum, your account has been promoted to be allowed to post links and attach files up to 300kB.

giuliohome wrote:

First of all, I see in the Info Center "Debian GNU/Linux 11". When I look for technical answers, should I consider the OS as such (Debian) or when is the q4os relevant. For example in my case I want to build react, should I follow a tutorial like "How to install Node.js & NPM on Debian 11" ..

Yes, as Q4OS is Debian based, you can safely follow Debian's instructions, tutorials and procedures.

giuliohome wrote:

... tried launching vim but it is not there. Which is the correct way to install it?

$ sudo apt install vim

Last edited by giuliohome (2022-12-27 12:19)

Offline

#5 2022-12-27 12:22

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: how to install node, npm and react dev env

giuliohome wrote:

Any tricks to maximize the usage of the space under /mnt/host when installing new things like node and its packages?

Please see https://www.q4os.org/forum/viewtopic.php?id=3805

Offline

#6 2022-12-27 12:25

giuliohome
Member
Registered: 2022-12-27
Posts: 5

Re: how to install node, npm and react dev env

Perfect! Thank you again!

q4osteam wrote:
giuliohome wrote:

Any tricks to maximize the usage of the space under /mnt/host when installing new things like node and its packages?

Please see https://www.q4os.org/forum/viewtopic.php?id=3805

Offline

Board footer

Powered by FluxBB