Sha256: 25642fa5e299ab32943fd6b7678a7e489e264afabd782f1327dae6df27fc3238
Contents?: true
Size: 453 Bytes
Versions: 5
Compression:
Stored size: 453 Bytes
Contents
namespace :nodejs do task :install do on roles :app do execute 'curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash' #sed -i "s/[ -z "$PS1" ] && return/# [ -z "$PS1" ] && return/g" /root/.bashrc execute <<-EOBLOCK export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" nvm install node npm install --global yarn EOBLOCK end end end
Version data entries
5 entries across 5 versions & 1 rubygems