Sha256: 7468b709719465d8db6f14ba76eea9d22a2dad47a00a89f1f71773b01ebb7e4d

Contents?: true

Size: 351 Bytes

Versions: 20

Compression:

Stored size: 351 Bytes

Contents

module BinInstall
  module Node
    def self.install
      puts 'Installing Node.js...'.white
      Brew::Package.install_or_upgrade('node')
    end

    def self.install!
      puts 'Installing Node.js...'.white
      Brew::Package.install_or_upgrade!('node')
    end

    def self.installed?
      Shell.executable_exists?('node')
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
bin_install-0.0.33 lib/bin_install/node.rb
bin_install-0.0.32 lib/bin_install/node.rb
bin_install-0.0.31 lib/bin_install/node.rb
bin_install-0.0.30 lib/bin_install/node.rb
bin_install-0.0.29 lib/bin_install/node.rb
bin_install-0.0.28 lib/bin_install/node.rb
bin_install-0.0.27 lib/bin_install/node.rb
bin_install-0.0.26 lib/bin_install/node.rb
bin_install-0.0.25 lib/bin_install/node.rb
bin_install-0.0.24 lib/bin_install/node.rb
bin_install-0.0.23 lib/bin_install/node.rb
bin_install-0.0.22 lib/bin_install/node.rb
bin_install-0.0.21 lib/bin_install/node.rb
bin_install-0.0.20 lib/bin_install/node.rb
bin_install-0.0.19 lib/bin_install/node.rb
bin_install-0.0.18 lib/bin_install/node.rb
bin_install-0.0.17 lib/bin_install/node.rb
bin_install-0.0.16 lib/bin_install/node.rb
bin_install-0.0.15 lib/bin_install/node.rb
bin_install-0.0.14 lib/bin_install/node.rb