diff --git a/docs/en/installation/ubuntu.md b/docs/en/installation/ubuntu.md index 2cd0ba4a6..09ae25ab3 100644 --- a/docs/en/installation/ubuntu.md +++ b/docs/en/installation/ubuntu.md @@ -61,18 +61,14 @@ gem install bundler ## Node.js -To compile the assets, you'll need a JavaScript runtime. Node.js is the preferred option. As with Ruby, we don't recommend installing Node from your distro's repositories. - -To install it, you can use [n](https://github.com/tj/n) +To compile the assets, you'll need a JavaScript runtime. Node.js is the preferred option. Run the following command on your terminal: ```bash -wget -L https://git.io/n-install | bash -s -- -y lts +sudo apt install nodejs ``` -It will install the latest LTS (Long Term Support) Node version on your `$HOME` folder automatically (using [n-install](https://github.com/mklement0/n-install)) - ## PostgreSQL Install postgresql and its development dependencies with: diff --git a/docs/es/installation/ubuntu.md b/docs/es/installation/ubuntu.md index 3d0518019..6e1cdd4dc 100644 --- a/docs/es/installation/ubuntu.md +++ b/docs/es/installation/ubuntu.md @@ -61,18 +61,14 @@ gem install bundler ## Node.js -Para compilar los archivos estáticos (JS, CSS, imágenes, etc.), es necesario un _runtime_ de JavaScript. Node.js es la opción recomendada. Al igual que como ocurre con Ruby, no es recomendable instalar Node directamente de los repositorios de tu distribución Linux. - -Para instalar Node, puedes usar [n](https://github.com/tj/n) +Para compilar los archivos estáticos (JS, CSS, imágenes, etc.), es necesario un _runtime_ de JavaScript. Node.js es la opción recomendada. Ejecuta en tu terminal: ```bash -wget -L https://git.io/n-install | bash -s -- -y lts +sudo apt install nodejs ``` -Y este instalará automáticamente la versión LTS (_Long Term Support_, inglés para "Soporte a largo plazo") más reciente de Node en tu directorio `$HOME` (usando [n-install](https://github.com/mklement0/n-install)) - ## PostgreSQL Instala postgresql y sus dependencias de desarrollo con: