Skip to content

Instantly share code, notes, and snippets.

View AndrienkoAleksandr's full-sized avatar

Oleksandr Andriienko AndrienkoAleksandr

View GitHub Profile
@AndrienkoAleksandr
AndrienkoAleksandr / Travis CI local install
Created February 18, 2019 13:05 — forked from jarun/Travis CI local install
How to install Travis CI locally on Ubuntu 16.04
sudo apt install ruby ruby-dev
sudo gem install travis
# install path: /var/lib/gems/
@AndrienkoAleksandr
AndrienkoAleksandr / installing-node-with-nvm.md
Created January 3, 2019 08:25 — forked from d2s/installing-node-with-nvm.md
Installing Node.js for Linux & macOS with nvm
@AndrienkoAleksandr
AndrienkoAleksandr / node-and-npm-in-30-seconds.sh
Created August 13, 2017 20:04 — forked from isaacs/node-and-npm-in-30-seconds.sh
Use one of these techniques to install node and npm without having to sudo. Discussed in more detail at http://joyeur.com/2010/12/10/installing-node-and-npm/ Note: npm >=0.3 is *safer* when using sudo.
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl https://www.npmjs.org/install.sh | sh