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
980
受託案件におけるクライアントが求める定番要件 ~現場からは以上です~ / 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
880
Featured
See All Featured
The Language of Interfaces
destraynor
154
24k
Intergalactic Javascript Robots from Outer Space
tanoku
269
27k
GitHub's CSS Performance
jonrohan
1030
460k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Building Adaptive Systems
keathley
38
2.3k
Gamification - CAS2011
davidbonilla
80
5k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
Building Your Own Lightsaber
phodgson
103
6.1k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
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 Λ࣮ߦ͢Δ