Skip to content

Instantly share code, notes, and snippets.

@npofopr
Forked from agragregra/nodejs-gulp-install.txt
Last active December 16, 2018 21:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save npofopr/f3e7bf50cf5019337cdaef4b40ed8bf2 to your computer and use it in GitHub Desktop.
Save npofopr/f3e7bf50cf5019337cdaef4b40ed8bf2 to your computer and use it in GitHub Desktop.
Node.js + Gulp installation (Ubuntu) one line command
1. Simple:
sudo apt-add-repository -y ppa:brightbox/ruby-ng; sudo apt-get update; sudo apt-get -y install curl ruby2.5 ruby2.5-dev gcc make g++ libffi-dev; curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -; sudo apt-get install -y nodejs;
npm i -g rimraf npm-check-updates;
sudo chown -R $USER:$(id -gn $USER) /home/$USER/.config
3. Длинна командной строки (добавить PROMPT_DIRTRIM=3 в конец и сохранить файл):
sudo nano ~/.bashrc
PROMPT_DIRTRIM=3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment