Mac-OS-Setup-Applications

Mac-OS-Setup-Applications

Mac OS开发环境配置与应用推荐

该项目整理了一套完整的Mac OS开发环境配置方案和应用推荐清单。内容涵盖硬件选择、命令行工具、shell配置、开发软件以及日常应用等多个方面。项目提供详细的安装步骤和使用说明,帮助开发者快速搭建高效的Mac工作环境。

Mac OS开发工具命令行应用程序生产力Github开源项目
<h1 align="center"> My Mac OS setup and applications </h1> <p align="center"> <img src="media/mac-setup-workflow.jpg" align="center" alt="3 logos: command line, apple and application"> </p> <p align="center"> My Mac OS setup and the best applications I use as a Web Developer </p> <p align="center"> <a href="https://www.producthunt.com/posts/my-mac-os-setup-and-applications?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-my-mac-os-setup-and-applications" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=285571&theme=dark" alt="My Mac OS setup and applications - All the tools and apps any Web Developer should use on a Mac | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a> </p>

Table of content

<!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> <!-- END doctoc generated TOC please keep comment here to allow auto update -->

Disclaimer

I have been always passionate about tools. I always loved experimenting until I can find the right tool for the right task. Being a Front-End Developer requires to know the tools that exist and choose the one that will perform the task faster and better.

Based on hours of research and testing, I'm sharing all the applications I believe suits the best my work and daily workflow. It's a living MacOS configuration that, I hope, will also save you time for you to enjoy life more!

Usage

  • I tried to keep the right order you should also follow to install packages and applications on your Mac (particularly the setup shell part)
  • Some tools are free and some are not. I'm lucky to have the ability to pay for licences and subscriptions. But if you are not in that situation, 1) You will find free alternatives in the "Alternatives" section of most of the tools, 2) you don't need a paid tool to do an amazing work. Just choose the best tool that suits you and your situation.

Where to find the right tool?

  • Product Hunt - By far the best and well-know website where you can find almost everything you need. You will sometimes find a badge ![Upvote on Product Hunt][product-hunt] that redirects to the Product Hunt page. Show some ❤️ to the makers!
  • AlternativeTo - I regularly use AlternativeTo but find it limited and not always accurate. The "ups" are most of the time not relevant or doesn't reflect what people prefer the most. It's a great place to start if you are looking for a list of alternatives though.
  • Slant and stackshare - Slant and Stackshare are kind of similar but Stackshare is more developer tools focused. It's a nice source of information to compare apps / web apps.

My Hardware

Personal Keyboards:

Mouses:

Accessories:

Setup shell

Xcode 11

  • Xcode is required for some applications to run. So having Xcode updated just remove the issue of not being able to install some apps.
xcode-select --install

Homebrew - The Missing Package Manager for macOS

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

With Homebrew comes brew-cask which will allow to install applications with the command line.

Useful commands for Homebrew
brew update # Fetch latest version of homebrew and formula. brew search {app name} # Searches all known Casks for a partial or exact match. brew install {package name} # Install a package brew info --cask {app name} # Displays information about a given Cask brew install --cask {app name} # Install the given cask. brew cleanup
Cakebrew (optional) - A GUI for Cask
brew install --cask cakebrew

ZSH - An alternative shell to Bash

brew install zsh

Add this to my ~/.zshrc

export HOMEBREW_CASK_OPTS="--appdir=/Applications"

Oh My Zsh - Framework for managing your Zsh configuration

Verify that ZSH is correctly installed

zsh --version

Additionally, Zsh should be set as the default shell. Run echo $SHELL from a new terminal to confirm. Expected result: /usr/bin/zsh or similar

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Check if Oh My Zsh was correctly installed.

Command Line Apps

⚠️ Some of the following packages are not essential but highly recommended. Some applications may depend on the installation of these packages.

GNU Coreutils - An essential package with basic tools such as ls, rm...

brew install coreutils

Wget - To download data from the web and ftp, easier than curl

brew install wget

Tree - To create beautiful indented listing of files

brew install tree tree -L 1 # to output only the root directories and files

Nmap - A powerful command line network discovery utility

brew install nmap

The Silver Searcher - Really fast code searching tool

brew install the_silver_searcher

jq - Lightweight and flexible command-line JSON processor

brew install jq

Youtube-dl - A command line alternative to Airy

brew install youtube-dl youtube-dl -f best 'link-of-your-own-youtube-video'

FFMPEG - To convert videos in multiple formats

brew install tesseract-lang && brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-fdk-aac --with-librsvg --with-libsoxr --with-libssh --with-tesseract --with-libvidstab --with-opencore-amr --with-openh264 --with-openjpeg --with-openssl --with-rubberband --with-webp --with-zeromq --with-zimg --with-srt --with-libvmaf --with-libxml2 --with-game-music-emu --with-libbluray --with-libbs2b --with-libcaca --with-libgsm --with-libmodplug --with-openssl@1.1 --with-rtmpdump --with-speex --with-two-lame --with-wavpack --with-xvid

More details here

blueutil - CLI for bluetooth on OSX

brew install blueutil

Speedtest-cli - The command line version of Speedtest.net

brew install speedtest-cli

Imagemagick - You can do almost everything to edit/convert images and pdfs

brew install imagemagick

DisplayPlacer - Programmatically reorganize your screens layout

brew tap jakehilborn/jakehilborn && brew install displayplacer

Fonts - Installing some fonts

brew tap homebrew/cask-fonts brew install --cask \ font-fira-code \ font-source-code-pro font-source-code-pro-for-powerline \ font-source-sans-pro

MAS - Install App Store apps from the command line

brew install mas mas search {app name} # To search for an app

Ruby (rbenv) - To manage multiple versions of Ruby

brew install rbenv ruby-build rbenv-default-gems rbenv-gemset echo 'eval "$(rbenv init -)"' >> ~/.zshrc source ~/.zshrc # Apply changes rbenv install {version}

nvm - Easily manage your node versions

⚠️ (never use brew to install nvm)

wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash

Add these lines in the $HOME/.zshrc file:

export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm

And these lines to automatically switch your node version based on the nvmrc file.

# place this after nvm initialization! autoload -U add-zsh-hook load-nvmrc() { local node_version="$(nvm version)" local nvmrc_path="$(nvm_find_nvmrc)" if [ -n "$nvmrc_path" ]; then local nvmrc_node_version=$(nvm version "$(cat "${nvmrc_path}")") if [ "$nvmrc_node_version" = "N/A" ]; then nvm install elif [ "$nvmrc_node_version" != "$node_version" ]; then nvm use fi elif [ "$node_version" != "$(nvm version default)" ]; then echo "Reverting to nvm default version" nvm use default fi } add-zsh-hook chpwd load-nvmrc load-nvmrc

To default a specific node version: nvm alias default {version}

yarn - Fast, reliable, and secure dependency management.

brew install yarn

Act - Run Github Actions Locally

brew install nektos/tap/act

Git standup - Recall what you did on the last working day

brew install git-standup

Github CLI - Github on the command line

brew install github/gh/gh

Quick Look plugins

brew install --cask \ qlcolorcode qlmarkdown qlprettypatch qlstephen \ qlimagesize \ quicklook-csv quicklook-json epubquicklook

Node packages to install globally

List all NPM package installed globally: npm list -g --depth 0

  • Netlify CLI - npm install netlify-cli -g
  • Gatsby CLI - npm install -g gatsby-cli
  • NPM-check - npm install -g npm-check
  • Yarn-check - npm install -g yarn-check
  • AWS Amplify CLI - npm install -g @aws-amplify/cli
  • Vercel CLI - npm i -g vercel
  • Create React App - npx create-react-app my-app
  • dotenv-cli - npm install -g dotenv-cli
  • Gitmoji - npm i -g gitmoji-cli
  • Release-it - npm install --global release-it
  • Plop - npm i -g plop

Applications

This is a complete list of all the applications I have on my personal and professional Mac (some apps are only on my personal computer).

🎁 Some applications can be bought individually or you can subscribe Setapp for a 7-day free trial to test multiple applications and decide the one you want to use!

Bare minimum

This is the list of the most essentials apps I would install if I was limited in the number of apps to have.

<img src="media/15878421335213.jpg" width="50" align="right">

Little Snitch - Control incoming/outgoing network traffic

![Licence ~$30][licence-30] ![Usage high][usage-high] ![Upvote on Product Hunt][product-hunt]

<details> <summary>What for? - What I ❤️ - What I 👎</summary>
What for?
  • Little Snitch is perfect to block outgoing or incoming connections.
  • When I'm on the go and using my mobile data, I usually block some heavy connections so I limit the amount of data spent.
What I ❤️
  • Easy to use and clean UI
What I 👎
  • I wish the confirmation window could save "my preferences", so I would not have to select "forever" every time.
</details>
CLI installation
brew install --cask little-snitch

<img

编辑推荐精选

博思AIPPT

博思AIPPT

AI一键生成PPT,就用博思AIPPT!

博思AIPPT,新一代的AI生成PPT平台,支持智能生成PPT、AI美化PPT、文本&链接生成PPT、导入Word/PDF/Markdown文档生成PPT等,内置海量精美PPT模板,涵盖商务、教育、科技等不同风格,同时针对每个页面提供多种版式,一键自适应切换,完美适配各种办公场景。

AI办公办公工具AI工具博思AIPPTAI生成PPT智能排版海量精品模板AI创作热门
潮际好麦

潮际好麦

AI赋能电商视觉革命,一站式智能商拍平台

潮际好麦深耕服装行业,是国内AI试衣效果最好的软件。使用先进AIGC能力为电商卖家批量提供优质的、低成本的商拍图。合作品牌有Shein、Lazada、安踏、百丽等65个国内外头部品牌,以及国内10万+淘宝、天猫、京东等主流平台的品牌商家,为卖家节省将近85%的出图成本,提升约3倍出图效率,让品牌能够快速上架。

iTerms

iTerms

企业专属的AI法律顾问

iTerms是法大大集团旗下法律子品牌,基于最先进的大语言模型(LLM)、专业的法律知识库和强大的智能体架构,帮助企业扫清合规障碍,筑牢风控防线,成为您企业专属的AI法律顾问。

SimilarWeb流量提升

SimilarWeb流量提升

稳定高效的流量提升解决方案,助力品牌曝光

稳定高效的流量提升解决方案,助力品牌曝光

Sora2视频免费生成

Sora2视频免费生成

最新版Sora2模型免费使用,一键生成无水印视频

最新版Sora2模型免费使用,一键生成无水印视频

Transly

Transly

实时语音翻译/同声传译工具

Transly是一个多场景的AI大语言模型驱动的同声传译、专业翻译助手,它拥有超精准的音频识别翻译能力,几乎零延迟的使用体验和支持多国语言可以让你带它走遍全球,无论你是留学生、商务人士、韩剧美剧爱好者,还是出国游玩、多国会议、跨国追星等等,都可以满足你所有需要同传的场景需求,线上线下通用,扫除语言障碍,让全世界的语言交流不再有国界。

讯飞绘文

讯飞绘文

选题、配图、成文,一站式创作,让内容运营更高效

讯飞绘文,一个AI集成平台,支持写作、选题、配图、排版和发布。高效生成适用于各类媒体的定制内容,加速品牌传播,提升内容营销效果。

热门AI辅助写作AI工具讯飞绘文内容运营AI创作个性化文章多平台分发AI助手
TRAE编程

TRAE编程

AI辅助编程,代码自动修复

Trae是一种自适应的集成开发环境(IDE),通过自动化和多元协作改变开发流程。利用Trae,团队能够更快速、精确地编写和部署代码,从而提高编程效率和项目交付速度。Trae具备上下文感知和代码自动完成功能,是提升开发效率的理想工具。

AI工具TraeAI IDE协作生产力转型热门
商汤小浣熊

商汤小浣熊

最强AI数据分析助手

小浣熊家族Raccoon,您的AI智能助手,致力于通过先进的人工智能技术,为用户提供高效、便捷的智能服务。无论是日常咨询还是专业问题解答,小浣熊都能以快速、准确的响应满足您的需求,让您的生活更加智能便捷。

imini AI

imini AI

像人一样思考的AI智能体

imini 是一款超级AI智能体,能根据人类指令,自主思考、自主完成、并且交付结果的AI智能体。

下拉加载更多