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

编辑推荐精选

蛙蛙写作

蛙蛙写作

AI小说写作助手,一站式润色、改写、扩写

蛙蛙写作—国内先进的AI写作平台,涵盖小说、学术、社交媒体等多场景。提供续写、改写、润色等功能,助力创作者高效优化写作流程。界面简洁,功能全面,适合各类写作者提升内容品质和工作效率。

AI辅助写作AI工具蛙蛙写作AI写作工具学术助手办公助手营销助手AI助手
Trae

Trae

字节跳动发布的AI编程神器IDE

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

AI工具TraeAI IDE协作生产力转型热门
问小白

问小白

全能AI智能助手,随时解答生活与工作的多样问题

问小白,由元石科技研发的AI智能助手,快速准确地解答各种生活和工作问题,包括但不限于搜索、规划和社交互动,帮助用户在日常生活中提高效率,轻松管理个人事务。

热门AI助手AI对话AI工具聊天机器人
Transly

Transly

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

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

讯飞智文

讯飞智文

一键生成PPT和Word,让学习生活更轻松

讯飞智文是一个利用 AI 技术的项目,能够帮助用户生成 PPT 以及各类文档。无论是商业领域的市场分析报告、年度目标制定,还是学生群体的职业生涯规划、实习避坑指南,亦或是活动策划、旅游攻略等内容,它都能提供支持,帮助用户精准表达,轻松呈现各种信息。

AI办公办公工具AI工具讯飞智文AI在线生成PPTAI撰写助手多语种文档生成AI自动配图热门
讯飞星火

讯飞星火

深度推理能力全新升级,全面对标OpenAI o1

科大讯飞的星火大模型,支持语言理解、知识问答和文本创作等多功能,适用于多种文件和业务场景,提升办公和日常生活的效率。讯飞星火是一个提供丰富智能服务的平台,涵盖科技资讯、图像创作、写作辅助、编程解答、科研文献解读等功能,能为不同需求的用户提供便捷高效的帮助,助力用户轻松获取信息、解决问题,满足多样化使用场景。

热门AI开发模型训练AI工具讯飞星火大模型智能问答内容创作多语种支持智慧生活
Spark-TTS

Spark-TTS

一种基于大语言模型的高效单流解耦语音令牌文本到语音合成模型

Spark-TTS 是一个基于 PyTorch 的开源文本到语音合成项目,由多个知名机构联合参与。该项目提供了高效的 LLM(大语言模型)驱动的语音合成方案,支持语音克隆和语音创建功能,可通过命令行界面(CLI)和 Web UI 两种方式使用。用户可以根据需求调整语音的性别、音高、速度等参数,生成高质量的语音。该项目适用于多种场景,如有声读物制作、智能语音助手开发等。

咔片PPT

咔片PPT

AI助力,做PPT更简单!

咔片是一款轻量化在线演示设计工具,借助 AI 技术,实现从内容生成到智能设计的一站式 PPT 制作服务。支持多种文档格式导入生成 PPT,提供海量模板、智能美化、素材替换等功能,适用于销售、教师、学生等各类人群,能高效制作出高品质 PPT,满足不同场景演示需求。

讯飞绘文

讯飞绘文

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

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

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

材料星

专业的AI公文写作平台,公文写作神器

AI 材料星,专业的 AI 公文写作辅助平台,为体制内工作人员提供高效的公文写作解决方案。拥有海量公文文库、9 大核心 AI 功能,支持 30 + 文稿类型生成,助力快速完成领导讲话、工作总结、述职报告等材料,提升办公效率,是体制打工人的得力写作神器。

下拉加载更多