Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Dernière révision Les deux révisions suivantes | ||
linux:nodejs [23-08-2019 15:33] edmc73 |
linux:nodejs [04-02-2020 09:48] edmc73 |
||
---|---|---|---|
Ligne 5: | Ligne 5: | ||
Utilisez la démarche décrite sur le site officiel => https:// | Utilisez la démarche décrite sur le site officiel => https:// | ||
+ | |||
+ | => https:// | ||
< | < | ||
- | curl -sL https:// | + | curl -sL https:// |
- | | + | ## Run `sudo apt-get install -y nodejs` to install Node.js |
- | ## Run `sudo apt-get install -y nodejs` to install Node.js | + | |
## You may also need development tools to build native addons: | ## You may also need development tools to build native addons: | ||
sudo apt-get install gcc g++ make | sudo apt-get install gcc g++ make | ||
Ligne 16: | Ligne 17: | ||
echo "deb https:// | echo "deb https:// | ||
sudo apt-get update && sudo apt-get install yarn | sudo apt-get update && sudo apt-get install yarn | ||
- | + | ||
- | + | ||
- | | + | |
apt-get install nodejs | apt-get install nodejs | ||
</ | </ | ||
- | # npm --version | + | # npm -v |
- | | + | |
- | # nodejs --version | + | # node -v |
- | | + | |
En cas de problème, n' | En cas de problème, n' |