class Jumpstarter::Commands::Pip::Install
Public Class Methods
command!()
click to toggle source
# File lib/jumpstarter_core/commands.rb, line 9 def command!() if OS.isLinix? return ['apt install python3-pip'] elsif OS.isMac? return ['brew install python', 'brew unlink python && brew link python'] elsif OS.isWindows? puts "Windows is not currently supported" end end
requires_sudo!()
click to toggle source
# File lib/jumpstarter_core/commands.rb, line 6 def requires_sudo!() return true end