Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Hello Homebrew
Search
Takayuki Niinuma
May 23, 2015
0
3.2k
Hello Homebrew
Takayuki Niinuma
May 23, 2015
Tweet
Share
More Decks by Takayuki Niinuma
See All by Takayuki Niinuma
[JAWS-UG鹿児島 vol.9]AWSの監査機能を使って 大事なリソースを守ろう / Protect important resources with AWS auditing
twinuma
0
990
受託案件におけるクライアントが求める定番要件 ~現場からは以上です~ / Successful external projects at AWS
twinuma
0
670
エンジニアが知っておくべき AWSクラウドデザインパターン設計/aws-cdp-20161117
twinuma
18
4.3k
20160717sakurajimaHouse
twinuma
0
150
【オンプレミスとの組み合わせに効く】 AWSのマネージドサービスつまみ食い10品/jawsug-kagoshima-vol6-niinuma
twinuma
3
1k
オンラインコミュニュケーションを支えるHTML5/html5-conference-kagoshima
twinuma
0
200
鹿児島Techもくもく勉強会Vol.1
twinuma
0
200
internet is awesome! - tegeweb 2014.04.25
twinuma
0
1.3k
ここが大変だよ、JAWS-UG
twinuma
0
890
Featured
See All Featured
Writing Fast Ruby
sferik
627
61k
Designing for Performance
lara
604
68k
GitHub's CSS Performance
jonrohan
1030
460k
Site-Speed That Sticks
csswizardry
0
28
BBQ
matthewcrist
85
9.3k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Teambox: Starting and Learning
jrom
133
8.8k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
Adopting Sorbet at Scale
ufuk
73
9.1k
It's Worth the Effort
3n
183
27k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
Transcript
Hello Homebrew Takayuki Niinuma@Monstar Lab
ࣗݾհ • ৽প وߦ(Monstar Lab,Inc.) • αʔόαΠυˍΠϯϑϥΤϯδχΞ • Facebook:takayuki.niinuma •
Twitter: @twinuma • github: Twinuma
࣍ • ύοέʔδཧγεςϜͱ • Homebrew֓ཁ • HomebrewΠϯετʔϧ • Homebrew͍ํɾϋϯζΦϯ •
Homebrew-Cask͍ํɾϋϯζΦϯ • Homebrew-file͍ํɾϋϯζΦϯ • Cakebrew͍ํɾϋϯζΦϯ • ·ͱΊ
࣍ • ύοέʔδཧγεςϜͱ • Homebrew֓ཁ • HomebrewΠϯετʔϧ • Homebrew͍ํɾϋϯζΦϯ •
Homebrew-Cask͍ํɾϋϯζΦϯ • Homebrew-file͍ํɾϋϯζΦϯ • Cakebrew͍ํɾϋϯζΦϯ • ·ͱΊ
ύοέʔδཧγεςϜ • ιϑτΣΞϥΠϒϥϦͷΠϯετʔϧΛཧ • ϥΠϒϥϦಉ࢜ͷґଘؔΛࣗಈతʹஅ • Linuxͩͱ”yum””apt” • OSXͰɺMacPortsͱ”Homebrew"͕Α͘Θ ΕΔ
࣍ • ύοέʔδཧγεςϜͱ • Homebrew֓ཁ • HomebrewΠϯετʔϧ • Homebrew͍ํɾϋϯζΦϯ •
Homebrew-Cask͍ํɾϋϯζΦϯ • Homebrew-file͍ํɾϋϯζΦϯ • Cakebrew͍ํɾϋϯζΦϯ • ·ͱΊ
Homebrew֓ཁ • HomebrewMacPortsΑΓޙൃͷύοέʔδཧ γεςϜ • ඞཁͳϥΠϒϥϦΛͯ͢μϯϩʔυ͢ΔͷͰ ͳ͘ɺOSXʹೖ͍ͬͯΔϥΠϒϥϦΛۃྗ༻͢Δ • MacPortsͱHomebrewͷڞଘߦΘͳ͍΄͏͕҆ શͰ͢ɻ
࣍ • ύοέʔδཧγεςϜͱ • Homebrew֓ཁ • HomebrewΠϯετʔϧ • Homebrew͍ํɾϋϯζΦϯ •
Homebrew-Cask͍ํɾϋϯζΦϯ • Homebrew-file͍ํɾϋϯζΦϯ • Cakebrew͍ํɾϋϯζΦϯ • ·ͱΊ
HomebrewΠϯετʔϧ ‒४උ XcodeΛΠϯετʔϧޙɺ Command Line ToolsΛΠϯετʔϧ
HomebrewΠϯετʔϧ ‒Πϯετʔϧ ҎԼͷίϚϯυΛ࣮ߦ͠Πϯετʔϧ ͞ΒʹɺҎԼͷίϚϯυΛ࣮ߦ ܯࠂͷࢦࣔ௨Γʹղফ͓ͤͯ͘͞ɻ ͜ΕͰHomebrewར༻Մ
࣍ • ύοέʔδཧγεςϜͱ • Homebrew֓ཁ • HomebrewΠϯετʔϧ • Homebrew͍ํɾϋϯζΦϯ •
Homebrew-Cask͍ํɾϋϯζΦϯ • Homebrew-file͍ํɾϋϯζΦϯ • Cakebrew͍ํɾϋϯζΦϯ • ·ͱΊ
Homebrew༻ޠઆ໌ ૢ࡞ )PNFCSFXίϚϯυ ύοέʔδͷΠϯετʔϧ CSFXJOTUBMMQBDLBHF ύοέʔδͷߋ৽ CSFXVQEBUFQBDLBHF ΠϯετʔϧࡁΈͷύοέʔδͷҰཡදࣔ CSFXMJTU ύοέʔδͷݕࡧ
CSFXTFBSDIݕࡧจࣈྻ ύοέʔδͷใ CSFXJOGPQBDLBHF ύοέʔδͷআ CSFXSFNPWFQBDLBHF ύοέʔδཧγεςϜࣗମͷߋ৽ CSFXVQEBUF
Homebrew༻ޠઆ໌ ૢ࡞ ຊདྷͷҙຯ આ໌ #SFX Ϗʔϧৢ͢Δ NBLF͢Δ )PNFCSFX ࣗՈৢ ࣗͰϏϧυ͢Δ
$FMMFS Ϗʔϧஷଂݿ Πϯετʔϧઌ ,FH λϧɺख़༻ NBLFͷࡐྉ 'PSNVMB ௐཧ๏ Ϗϧυखॱ͕ॻ͔Εͨ εΫϦϓτ
Homebrew͍ํ ‒Homebrewຊମͷߋ৽ ‒Homebrewόʔδϣϯ֬ೝ ‒ύοέʔδݕࡧʢྫ wgetʣ
Homebrew͍ํ ‒ύοέʔδใʢྫ wgetʣ
Homebrew͍ํ ‒ύοέʔδՃʢྫ wgetʣ
Homebrew͍ํ ‒ύοέʔδόʔδϣϯ֬ೝʢྫ wgetʣ ‒࣮ߦύε֬ೝʢྫ wgetʣ
࣍ • ύοέʔδཧγεςϜͱ • Homebrew֓ཁ • HomebrewΠϯετʔϧ • Homebrew͍ํɾϋϯζΦϯ •
Homebrew-Cask͍ํɾϋϯζΦϯ • Homebrew-file͍ํɾϋϯζΦϯ • Cakebrew͍ํɾϋϯζΦϯ • ·ͱΊ
Homebrew֦ு ‒Github ‒GithubΞΧϯτ࡞ https://goo.gl/V7pq09 ҎԼͷURLΞΫηε͠ɺΞΧϯτ͍࣋ͬͯͳ͍ਓ࡞͠·͠ΐ͏ɻ
Homebrew֦ு ‒Homebrew-CaskΛͬͯΠϯετʔϧ ‒Homebrew-Caskݕࡧ http://caskroom.io/search ௨ৗͷΞϓϦΛHomebrewͰೖΕΒΕΔΑ͏ʹͳΔɻ
࣍ • ύοέʔδཧγεςϜͱ • Homebrew֓ཁ • HomebrewΠϯετʔϧ • Homebrew͍ํɾϋϯζΦϯ •
Homebrew-Cask͍ํɾϋϯζΦϯ • Homebrew-file͍ํɾϋϯζΦϯ • Cakebrew͍ํɾϋϯζΦϯ • ·ͱΊ
Homebrew֦ு ‒Homebrew-fileͷΠϯετʔϧ ‒ϦϙδτϦͷొ ‒ϦϙδτϦͷ֬ೝ brew tap rcmdnk/file brew install brew-file
Homebrew֦ு ‒BrewϑΝΠϧॳظԽ ‒BrewϑΝΠϧฤू ‒Homebrew-caskͷΞϓϦέʔγϣϯ֬ೝ
Homebrew֦ு Installed directly, but casks are available ͕Homebrew-caskͰΠϯετʔϧՄೳͳΞϓϦέʔγϣϯ
Homebrew֦ு ‒ΧϨϯτσΟϨΫτϦͷ”Caskfile”֬ೝ Caskfileʹॻ͔Ε͍ͯΔΞϓϦέʔγϣϯΛআ ‒BrewϑΝΠϧʹՃ ‒BrewϑΝΠϧʹՃޙɺΠϯετʔϧ
Homebrew֦ு ‒BrewϑΝΠϧߋ৽ ‒brew caskͷΞοϓσʔτ(࠷৽Խ)
࣍ • ύοέʔδཧγεςϜͱ • Homebrew֓ཁ • HomebrewΠϯετʔϧ • Homebrew͍ํɾϋϯζΦϯ •
Homebrew-Cask͍ํɾϋϯζΦϯ • Homebrew-file͍ํɾϋϯζΦϯ • Cakebrew͍ํɾϋϯζΦϯ • ·ͱΊ
Cakebrew͍ํ
Cakebrew͍ํ https://www.cakebrew.com/
Cakebrew͍ํ ‒Πϯετʔϧ͞Ε͍ͯΔϦετ
Cakebrew͍ํ ‒ΞϯΠϯετʔϧ
Cakebrew͍ํ ‒Ξοϓσʔτ
࣍ • ύοέʔδཧγεςϜͱ • Homebrew֓ཁ • HomebrewΠϯετʔϧ • Homebrew͍ํɾϋϯζΦϯ •
Homebrew-Cask͍ํɾϋϯζΦϯ • Homebrew-file͍ํɾϋϯζΦϯ • Cakebrew͍ํɾϋϯζΦϯ • ·ͱΊ
·ͱΊ ‒NewMacʹBrewfileΛݩʹಉ͡ύοέʔδͰڥΛߏங͍ͨ͠߹ • HomebrewΛΠϯετʔϧ • Homebrew-fileΛΠϯετʔϧ • BrewfileͷϦϙδτϦΛొ • brew
file install Λ࣮ߦ͢Δ