{"id":40682,"date":"2016-07-15T23:08:12","date_gmt":"2016-07-15T14:08:12","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=40682"},"modified":"2016-07-15T23:08:12","modified_gmt":"2016-07-15T14:08:12","slug":"m-cli","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/m-cli\/","title":{"rendered":"m-cli - Mac\u3092\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306e\u30b9\u30a4\u30b9\u30a2\u30fc\u30df\u30fc\u30c4\u30fc\u30eb\u306e\u6c7a\u5b9a\u7248\u304c\u3064\u3044\u306b\u767b\u5834"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2016\/07\/m-cli.jpg\" alt=\"M cli\" title=\"m-cli.jpg\" border=\"0\" width=\"725\" height=\"437\" \/><\/p>\n<p>UNIX\u4e92\u63db\u74b0\u5883\u3092\u642d\u8f09\u3057UNIX\/Linux\u3067\u5229\u7528\u3067\u304d\u308b\u5404\u7a2e\u30b3\u30de\u30f3\u30c9\u3092\u540c\u3058\u611f\u899a\u3067\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308bmacOS\u3002Windows\u306b\u306f\u306a\u3044\u5927\u304d\u306a\u9b45\u529b\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u304c\u3001Mac\u56fa\u6709\u306e\u6a5f\u80fd\u3092\u64cd\u4f5c\u3059\u308b\u7d71\u4e00\u7684\u306a\u30b3\u30de\u30f3\u30c9\u306f\u7279\u306b\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p>\u672c\u65e5\u7d39\u4ecb\u3059\u308b\u300c<a href=\"https:\/\/github.com\/rgcr\/m-cli\">m-cli<\/a>\u300d\u306f\u3053\u306e\u4e0d\u4fbf\u3055\u3092\u89e3\u6d88\u3059\u308b\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u88fd\u306e\u30c4\u30fc\u30eb\u3067\u3059\u3002<\/p>\n<p>Mac\u56fa\u6709\u306e\u6a5f\u80fd\u3092\u5236\u5fa1\u3059\u308b\u305f\u3081\u306e\u5404\u7a2e\u6a5f\u80fd\u3092\u30e9\u30c3\u30d7\u3057\u3066\u5206\u304b\u308a\u3084\u3059\u3044\u5f62\u5f0f\u3067\u63d0\u4f9b\u3059\u308b\u3082\u306e\u3067\u3001\u3053\u308c\u4e00\u3064\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u3051\u3070\u3001Mac\u306e\u7ba1\u7406\u696d\u52d9\u304c\u5927\u5e45\u306b\u52b9\u7387\u5316\u3055\u308c\u308b\u3053\u3068\u304c\u671f\u5f85\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u8a73\u7d30\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre>curl -fsSL https:\/\/raw.githubusercontent.com\/rgcr\/m-cli\/master\/install.sh | sh<\/pre>\n<p><span class=\"mybold\">m<\/span>\u30b3\u30de\u30f3\u30c9\u306f<span class=\"mybold\">\/usr\/local\/m-cli<\/span>\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u3002<br \/>\n.zshrc\u3084.bashrc\u306b\u30d1\u30b9\u3092\u8ffd\u52a0\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre>export PATH=$PATH:\/usr\/local\/m-cli<\/pre>\n<p>\u5b9f\u884c\u4f8b\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2016\/07\/install.jpg\" alt=\"Install\" title=\"install.jpg\" border=\"0\" width=\"742\" height=\"504\" \/><\/p>\n<h2>\u5b9f\u884c\u65b9\u6cd5<\/h2>\n<p>\u5927\u62b5\u306e\u30b3\u30de\u30f3\u30c9\u306f\u300c<span class=\"mybold\">m \u30b3\u30de\u30f3\u30c9 \u30b5\u30d6\u30b3\u30de\u30f3\u30c9<\/span>\u300d\u306e\u5f62\u5f0f\u3067\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<p>\u5358\u306b\u300cm\u300d\u3068\u6253\u3061\u8fbc\u3081\u3070\u30b3\u30de\u30f3\u30c9\u306e\u4e00\u89a7\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u300cm \u30b3\u30de\u30f3\u30c9\u300d\u3068\u5165\u529b\u3059\u308b\u3068\u305d\u306e\u30b3\u30de\u30f3\u30c9\u306e\u4f7f\u7528\u65b9\u6cd5\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u5177\u4f53\u7684\u306a\u30b3\u30de\u30f3\u30c9\u4e00\u89a7\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059:<\/p>\n<table>\n<tr>\n<th>\u30b3\u30de\u30f3\u30c9<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<tr>\n<th>battery<\/th>\n<td>\u30d0\u30c3\u30c6\u30ea\u30fc\u306e\u72b6\u614b\u3092\u8868\u793a<\/td>\n<\/tr>\n<tr>\n<th>bluetooth<\/th>\n<td>Bluetooth\u306e\u72b6\u614b\u3092\u8868\u793a\u3084\u6709\u52b9\u30fb\u7121\u52b9\u306e\u5207\u308a\u66ff\u3048<\/td>\n<\/tr>\n<tr>\n<th>disk<\/th>\n<td>\u30c7\u30a3\u30b9\u30af\u306b\u95a2\u3059\u308b\u5404\u7a2e\u60c5\u5831\u3092\u8868\u793a\u3002\u4fee\u5fa9\u30fb\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u6a5f\u80fd\u7b49\u3082\u63d0\u4f9b<\/td>\n<\/tr>\n<tr>\n<th>dir<\/th>\n<td>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30c4\u30ea\u30fc\u8868\u793a\u3084\u7a7a\u30d5\u30a9\u30eb\u30c0\u306e\u524a\u9664<\/td>\n<\/tr>\n<tr>\n<th>finder<\/th>\n<td>\u96a0\u3057\u30d5\u30a1\u30a4\u30eb\u306e\u8868\u793a\u30fb\u975e\u8868\u793a\u306e\u5207\u308a\u66ff\u3048<\/td>\n<\/tr>\n<tr>\n<th>firewall<\/th>\n<td>\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u72b6\u614b\u8868\u793a\u3084\u6709\u52b9\u30fb\u7121\u52b9\u306e\u5207\u308a\u66ff\u3048<\/td>\n<\/tr>\n<tr>\n<th>gatekeeper<\/th>\n<td>GateKeeper\u6a5f\u80fd\u306e\u72b6\u614b\u8868\u793a\u3084\u6709\u52b9\u30fb\u7121\u52b9\u306e\u5207\u308a\u66ff\u3048<\/td>\n<\/tr>\n<tr>\n<th>hostname<\/th>\n<td>\u30db\u30b9\u30c8\u540d\u306e\u53d6\u5f97\u3084\u8a2d\u5b9a<\/td>\n<\/tr>\n<tr>\n<th>info<\/th>\n<td>Mac OS X\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831\u3092\u8868\u793a<\/td>\n<\/tr>\n<tr>\n<th>lock<\/th>\n<td>\u30b9\u30af\u30ea\u30fc\u30f3\u30ed\u30c3\u30af\u3092\u767a\u52d5<\/td>\n<\/tr>\n<tr>\n<th>ntp<\/th>\n<td>ntp\u306e\u72b6\u614b\u8868\u793a\u3084\u6709\u52b9\u30fb\u7121\u52b9\u306e\u5207\u308a\u66ff\u3048<\/td>\n<\/tr>\n<tr>\n<th>network<\/th>\n<td>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306e\u4e00\u89a7\u8868\u793a\u3084\u64cd\u4f5c<\/td>\n<\/tr>\n<tr>\n<th>nosleep<\/th>\n<td>\u30b9\u30ea\u30fc\u30d7\u306e\u6291\u5236<\/td>\n<\/tr>\n<tr>\n<th>restart<\/th>\n<td>\u518d\u8d77\u52d5\u3092\u5b9f\u884c<\/td>\n<\/tr>\n<tr>\n<th>saveboot<\/th>\n<td>\u30bb\u30fc\u30d5\u30d6\u30fc\u30c8\u3092\u5b9f\u884c<\/td>\n<\/tr>\n<tr>\n<th>screensaver<\/th>\n<td>\u30b9\u30af\u30ea\u30fc\u30f3\u30bb\u30fc\u30d0\u30fc\u306e\u5236\u5fa1<\/td>\n<\/tr>\n<tr>\n<th>service<\/th>\n<td>\u30b5\u30fc\u30d3\u30b9\u306e\u4e00\u89a7\u3084\u5236\u5fa1<\/td>\n<\/tr>\n<tr>\n<th>shutdown<\/th>\n<td>\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3092\u5b9f\u884c<\/td>\n<\/tr>\n<tr>\n<th>sleep<\/th>\n<td>\u30b9\u30ea\u30fc\u30d7\u3092\u5b9f\u884c<\/td>\n<\/tr>\n<tr>\n<th>timezone<\/th>\n<td>\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u306e\u8868\u793a\u3084\u5909\u66f4<\/td>\n<\/tr>\n<tr>\n<th>trash<\/th>\n<td>\u30b4\u30df\u7bb1\u60c5\u5831\u306e\u8868\u793a\u3084\u7a7a\u306b\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<th>user<\/th>\n<td>\u30e6\u30fc\u30b6\u30fc\u4e00\u89a7\u3084\u4f5c\u6210<\/td>\n<\/tr>\n<tr>\n<th>volume<\/th>\n<td>\u97f3\u91cf\u8a2d\u5b9a<\/td>\n<\/tr>\n<tr>\n<th>wallpaper<\/th>\n<td>\u58c1\u7d19\u306e\u8a2d\u5b9a<\/td>\n<\/tr>\n<tr>\n<th>wifi<\/th>\n<td>WiFi\u60c5\u5831\u306e\u53d6\u5f97\u3084\u5236\u5fa1<\/td>\n<\/tr>\n<\/table>\n<p>\u4f8b\u3048\u3070\u300cm gatekeeper\u300d\u3068\u5165\u529b\u3059\u308b\u3068\u30d8\u30eb\u30d7\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u306e\u3067\u3001\u305d\u308c\u305e\u308c\u306e\u30b3\u30de\u30f3\u30c9\u3092\u7d30\u90e8\u307e\u3067\u899a\u3048\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2016\/07\/s-2016-07-15-19.53.26.jpg\" alt=\"S 2016 07 15 19 53 26\" title=\"s 2016-07-15 19.53.26.jpg\" border=\"0\" width=\"709\" height=\"362\" \/><\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>m-cli\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u3051\u3070Mac\u306e\u7ba1\u7406\u3092\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u7c21\u5358\u306b\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30d8\u30eb\u30d7\u3082\u304d\u3063\u3061\u308a\u4f5c\u3089\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u500b\u3005\u306e\u30b3\u30de\u30f3\u30c9\u306e\u4f7f\u3044\u65b9\u3092\u899a\u3048\u3066\u304a\u304f\u5fc5\u8981\u3082\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u516c\u5f0f\u30b5\u30a4\u30c8\u306b\u3088\u308b\u3068m-cli\u306f\u4ee5\u524d\u7d39\u4ecb\u3057\u305f<a href=\"https:\/\/github.com\/guarinogabriel\/Mac-CLI\">Mac CLI<\/a>\u306b\u30a4\u30f3\u30b9\u30d1\u30a4\u30a2\u3055\u308c\u3066\u4f5c\u6210\u3055\u308c\u305f\u3082\u306e\u306e\u3088\u3046\u3067\u3059\u3002Mac CLI\u306fRuby gems\u3084Homebrew\u3001npm\u7cfb\u306e\u64cd\u4f5c\u307e\u3067\u53d6\u308a\u8fbc\u3093\u3067\u3044\u307e\u3057\u305f\u304c\u3001\u305d\u3053\u307e\u3067\u5fc5\u8981\u306a\u3044\u3068\u3044\u3046\u65b9\u306fm-cli\u306e\u65b9\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>UNIX\u4e92\u63db\u74b0\u5883\u3092\u642d\u8f09\u3057UNIX\/Linux\u3067\u5229\u7528\u3067\u304d\u308b\u5404\u7a2e\u30b3\u30de\u30f3\u30c9\u3092\u540c\u3058\u611f\u899a\u3067\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308bmacOS\u3002Windows\u306b\u306f\u306a\u3044\u5927\u304d\u306a\u9b45\u529b\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u304c\u3001Mac\u56fa\u6709\u306e\u6a5f\u80fd\u3092\u64cd\u4f5c\u3059\u308b\u7d71\u4e00\u7684\u306a\u30b3\u30de\u30f3\u30c9\u306f\u7279\u306b\u63d0\u4f9b\u3055\u308c\u3066 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":40683,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[3459],"tags":[1765,3299,1211],"class_list":["post-40682","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-review","tag-command","tag-mac","tag-terminal"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/40682","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=40682"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/40682\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/40683"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=40682"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=40682"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=40682"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}