Instalar node.js en Debian Linux - apt install nodejs
https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-debian-10
Then install the Node.js package:
To verify that the installation was successful, run the node
command with the -v
flag to get the version:
Outputv10.24.0
If the package in the repositories suits your needs, this is all you need to do to get set up with Node.js. In most cases, you’ll also want to also install npm
, the Node.js package manager. You can do this by installing the npm
package with apt
:
This will allow you to install modules and packages to use with Node.js.
At this point you have successfully installed Node.js and npm
using apt
and the default Ubuntu software repositories. The next section will show how to use an alternate repository to install different versions of Node.js.
No hay comentarios:
Publicar un comentario