{"id":8644,"date":"2019-11-16T09:52:21","date_gmt":"2019-11-16T01:52:21","guid":{"rendered":"https:\/\/jpuyy.com\/?p=8644"},"modified":"2023-05-01T23:40:48","modified_gmt":"2023-05-01T15:40:48","slug":"osx-%e5%bf%85%e8%a3%85%e8%bd%af%e4%bb%b6","status":"publish","type":"post","link":"https:\/\/jpuyy.com\/?p=8644","title":{"rendered":"macOS \u521d\u59cb\u5316\u53ca\u5fc5\u88c5\u8f6f\u4ef6"},"content":{"rendered":"<p>Langurage &amp; Region-\u8bbe\u7f6e\u4e3a\u82f1\u6587 (Only)<\/p>\n<p>Dock \u8bbe\u7f6e\u5230\u5de6\u4fa7, Automatically hide and show the Dock<br \/>\nremove unneed applications in Dock<br \/>\n\u53d6\u6d88\u52fe\u9009 Show recent applications in Dock<br \/>\nminimize window using: Scale effect<\/p>\n<p>Keyboard -&gt; input sources \u4e94\u7b14<br \/>\nKeyboard -&gt; shortcuts -&gt; switch select previous input source using command + space ( remove spotlight shortcuts )<br \/>\nKeyboard -&gt; Key Repeat(Fast), Delay Until Repeat(Short)<br \/>\nModifier Keys Caps Lock \u6539\u4e3a Control<br \/>\n\u6dfb\u52a0\u542f\u52a8\u53f0\u5feb\u6377\u952e F4<\/p>\n<p>The Unarchiver<br \/>\nkindle<br \/>\nThe Clock # App Store<\/p>\n<p>\u9ed8\u8ba4\u4f7f\u7528 zsh<\/p>\n<pre>env | grep SHELL\n<\/pre>\n<p>https:\/\/support.apple.com\/en-us\/HT208050?from=timeline&#038;isappinstalled=0<\/p>\n<p>open terminal, type `git`, hint<\/p>\n<pre>xcode-select: note: no developer tools were found at '\/Applications\/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.\n<\/pre>\n<p>brew<\/p>\n<pre>open https:\/\/brew.sh\/\n\/bin\/bash -c \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/HEAD\/install.sh)\"\n<\/pre>\n<p>\u5982\u679c\u5b89\u88c5\u5305\u90fd\u662f up-to-date\uff0c\u53ef\u4ee5\u5148\u6267\u884c, \u4e0d\u7528\u6bcf\u6b21 check, \u8282\u7701\u65f6\u95f4<\/p>\n<pre>export HOMEBREW_NO_AUTO_UPDATE=1<\/pre>\n<p>brew install wget<br \/>\nbrew install jq<br \/>\nbrew install yq<br \/>\nbrew install cmake<br \/>\nbrew install llvm<\/p>\n<p>\u00b7&gt; brew install python3<br \/>\nWarning: No available formula with the name &#8220;python3&#8221;.<br \/>\n\u00b7&gt; rm -fr $(brew &#8211;repo homebrew\/core)<br \/>\nbrew install python3<\/p>\n<p>brew install google-cloud-sdk<br \/>\ngcloud components install kubectl<br \/>\ngcloud components install gke-gcloud-auth-plugin<\/p>\n<p>\u9047\u5230<\/p>\n<pre>xcrun: error: invalid active developer path (\/Library\/Developer\/CommandLineTools), missing xcrun at: \/Library\/Developer\/CommandLineTools\/usr\/bin\/xcrun\n<\/pre>\n<p>\u89e3\u51b3<\/p>\n<pre>xcode-select --install\n<\/pre>\n<p>brew install openssl<br \/>\nbrew install mysql-client<br \/>\nbrew install grep<br \/>\nbrew install mtr # sudo \/usr\/local\/sbin\/mtr baidu.com<br \/>\nbrew install oath-toolkit # sudo chown ${USER}:wheel \/usr\/local\/lib\/security<br \/>\nbrew install iperf<br \/>\nbrew install fping<br \/>\nbrew install tflint<br \/>\nbrew install maven<br \/>\nbrew install openjdk<br \/>\nbrew install ansible<br \/>\nbrew install nvm<br \/>\nbrew install nmap<\/p>\n<p>brew install kubectx<br \/>\nbrew install fzf # https:\/\/github.com\/junegunn\/fzf<\/p>\n<p>brew install yarn<br \/>\nbrew install gradle<br \/>\nbrew install gnu-sed<br \/>\nbrew install tree<br \/>\nbrew install github\/gh\/gh<br \/>\nbrew install terraform<br \/>\nbrew install shellcheck<br \/>\nbrew install shfmt<br \/>\nbrew install hey<br \/>\nbrew install coreutils<br \/>\nbrew install brotli<br \/>\nbrew install kubernetes-helm<br \/>\nbrew install sbt<br \/>\nbrew install gawk<br \/>\nbrew install watch<br \/>\nbrew install yamllint<br \/>\nbrew install inetutils # PATH=&#8221;\/usr\/local\/opt\/inetutils\/libexec\/gnubin:$PATH&#8221;<br \/>\nbrew install redis<\/p>\n<p># nodejs<br \/>\nbrew install npm<\/p>\n<p>brew install keepassxc # https:\/\/keepassxc.org\/<\/p>\n<p>brew install go2shell<\/p>\n<p>brew install cisco-proximity<\/p>\n<p>golang https:\/\/jpuyy.com\/?p=8411<\/p>\n<p>https:\/\/ohmyz.sh\/<\/p>\n<p>application \u5f00\u53d1\u7ec4\u4ef6<br \/>\nhttps:\/\/www.jetbrains.com\/toolbox-app\/ \u4e0b\u8f7d webstorm goland pycharm intelij, \u767b\u5f55\u8d26\u53f7, \u8bbe\u7f6e\u81ea\u52a8\u66f4\u65b0\uff0c\u6dfb\u52a0 shell scripts \u547d\u4ee4\u5230 \/usr\/local\/bin<br \/>\nbrew install vault<br \/>\nbrew install terragrunt<br \/>\nbrew install git-crypt<br \/>\nbrew install aliyun-cli<br \/>\nbrew install groovysdk<br \/>\nbrew install pre-commit<br \/>\nbrew install wireshark &#8211;cask<br \/>\nbrew install fortio<\/p>\n<p>brew install graphviz<br \/>\nhttps:\/\/gpgtools.org\/<br \/>\nhttps:\/\/istio.io\/docs\/setup\/getting-started<\/p>\n<p>kubectl \u63d2\u4ef6<br \/>\nhttps:\/\/krew.sigs.k8s.io\/docs\/user-guide\/setup\/install\/<\/p>\n<p>\u542f\u7528 locate updatedb<\/p>\n<pre>sudo launchctl load -w \/System\/Library\/LaunchDaemons\/com.apple.locate.plist\n<\/pre>\n<p>docker \u5b89\u88c5<br \/>\nhttps:\/\/hub.docker.com\/editions\/community\/docker-ce-desktop-mac\/<\/p>\n<p>logitech options<br \/>\nhttps:\/\/support.logi.com\/hc\/zh-cn\/articles\/360025297893<\/p>\n<p>Apple Music =&gt; account =&gt; Sign In<\/p>\n<p>\u5206\u5c4f rectangle https:\/\/rectangleapp.com\/<\/p>\n<p>vscode https:\/\/code.visualstudio.com\/<\/p>\n<p>postman https:\/\/www.postman.com\/downloads\/?utm_source=postman-home<\/p>\n<p>2022-01-13 \u66f4\u6362\u65b0\u7535\u8111 MacBook Pro (14-inch, 2021) Apple M1 Max \u66f4\u65b0<\/p>\n<p>2023-03 Intel Mac \u66f4\u6362 MacBook Pro 13-inch, M2, 2022<\/p>\n<p>Error: Cannot install in Homebrew on ARM processor in Intel default prefix (\/usr\/local)!<br \/>\nPlease create a new installation in \/opt\/homebrew using one of the<br \/>\n&#8220;Alternative Installs&#8221; from:<br \/>\nhttps:\/\/docs.brew.sh\/Installation<br \/>\nYou can migrate your previously installed formula list with:<br \/>\nbrew bundle dump<br \/>\n\u91cd\u65b0\u5b89\u88c5 brew<br \/>\nbrew \u5c06\u4f1a\u5b89\u88c5\u5230 \/opt\/homebrew\/bin\/brew<br \/>\n\u53ef\u4ee5\u6e05\u7406 \/usr\/local\/Cellar \u4e0b\u7684\u65e0\u7528\u6587\u4ef6<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Langurage &amp; Region-\u8bbe\u7f6e\u4e3a\u82f1\u6587 (Only) Dock \u8bbe\u7f6e\u5230\u5de6\u4fa7, Automatically hide and show the Dock remove unneed applications in Dock \u53d6\u6d88\u52fe\u9009 Show recent applications in Dock minimize window using: Scale effect Keyboard -&gt; input sources \u4e94\u7b14 Keyboard -&gt; shortcuts -&gt; switch select previous input source using command + space ( remove spotlight shortcuts ) Keyboard -&gt; Key Repeat(Fast), [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[171],"tags":[],"class_list":["post-8644","post","type-post","status-publish","format-standard","hentry","category-macos"],"_links":{"self":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/8644","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8644"}],"version-history":[{"count":127,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/8644\/revisions"}],"predecessor-version":[{"id":9781,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/8644\/revisions\/9781"}],"wp:attachment":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8644"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8644"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8644"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}