Skip to content

💻 Desktop environment preference for macOS Ventura (Apple Sillicon and intel supported) 

License

Notifications You must be signed in to change notification settings

kurone-kito/setup.macos

Repository files navigation

🍎 Auto setup for developing environment on macOS

Desktop environment preference for macOS Sonoma (Apple Silicon and Intel supported)
macOS Sonoma (Apple Silicon / intel 両対応) 向けの作業環境セットアップスクリプト

Overview

Fully automate the installation and settings of the app to make it easier to create an environment when you buy a new Mac.
新しい Mac を購入した際に、より手軽に環境構築するために、 アプリのインストールや設定を全自動化します。

Usage

First, give the terminal "full disk access" privileges by seeing the following URL.
最初に、以下の URL を参考にして、 ターミナルにフルディスクアクセス権限を与えてください。

https://discussions.apple.com/thread/251260652

Then just run the following command! You can also start it by double-clicking from the Finder app.
次に以下のコマンドを実行するだけです! Finder からダブルクリックで起動しても構いません。

./setup

The script used to use the Ansible, but now it didn't because it's a bit too lengthy.
かつては Ansible を使用していましたが、 少々冗長すぎるため今は使用していません。

Details

Apps install

When the interactive operation is required, implemented voice notifications as much as possible.
対話的な操作が必要になる場合、 できる限り音声での通知をするように実装しています。

Unless otherwise specified, as a general rule, install via Homebrew or Cask.
特筆なき場合、原則として Homebrew または Cask 経由でインストールします。

CLI Apps
note description
! DEPENDENCIES: Removing this app may cause this setup to stop working correctly.
-A without Apple Silicon Processor

Benchmark

Configuration tools

Convert tools for Media binary

Convert tools for Texts

Database

Development

Documentation

Files management

Packages manager

Runtime

Testing

Version control system

Remote

Shell

Signature

System

Text Browsing

Text editors

Virtualizations

Others

Desktop Apps

Apps that exist in the Mac App Store are temporarily not installed by this script. It's because the installation is unstable and very slow.
Mac App Store からインストール可能なアプリは、 このスクリプトでは暫定的にインストールしないようにしています。 インストールが不安定かつ非常に低速となるためです。

note description
! DEPENDENCIES: Removing this app may cause this setup to stop working correctly.
-A without Apple Silicon Processor

3D Modeling

Audios, Videos, and Broadcasting

Authentication

Benchmark

Cloud storages

Development

Devices

Documents and Office apps

Games

Memos and Tasks

Messaging and Socials

Remote

Terminal

Text editors

Virtualizations

Web browsers

Fonts
note description
! DEPENDENCIES: Removing this app may cause this setup to stop working correctly.

Install the upgrade script

Install a script to upgrade the installed app with just one command.
ひとつのコマンドだけで、 インストールしたアプリをアップグレードするスクリプトをインストールします。

Usage & Details
~/bin/update
  • Upgrade the apps installed via the Homebrew
  • Upgrade the plugins of Vagrant
  • Upgrade the Docker images
  • Upgrade the Prezto
  • Upgrade the asdf (.NET, Node.js, and Python)

Pulls some docker images

list
Image Tag
hello-world latest
alpine latest
busybox latest
debian latest
ubuntu latest
docker dind, git, latest
node 18, 18-alpine, 18-slim, 20, 20-alpine, 20-slim, 21, 21-alpine, 21-slim, 22, 22-alpine, 22-slim
gitlab/gitlab-runner latest
ghcr.io/catthehacker/ubuntu act-22.04, act-latest, ubuntu:full-20.04, ubuntu:full-latest

Initialize for Zsh / Prezto / Powerlevel10k

The script creates a symbolic link to the Prezto default profile. Also, add a definition so that you can scan under the ~/.zsh.d folder when starting the interactive shell.
セットアップ スクリプトは Prezto 既定のプロファイルへ、 シンボリックリンクを作成します。同時に、対話シェル開始時に ~/.zsh.d フォルダ配下をスキャンできるよう定義を追加しています。

Initialize for web-frontend development environment

The script creates and installs a local CA in the system root store, and generates locally-trusted certificates using the mkcert.
セットアップ スクリプトは mkcert を使用して、システムルートストアにローカル CA を作成してインストールし、ローカルで信頼できる証明書を生成します。

Also, by starting Firefox in this process, if the root store does not exist, it will be initialized.
また、この工程で Firefox を起動することにより、 ルートストアが存在しない場合、初期化します。

Customization of macOS desktop

See: https://macos-defaults.com/

See also

Playground

Using Vagrant and Virtualbox, you can try out the script in a virtual environment.
Vagrant と Virtualbox を使用して、仮想環境でスクリプトを試すことができます。

vagrant up

The script can also be attempted via the test script, but this script is not maintained and is deprecated.
このスクリプトを test スクリプト経由でも試行可能ですが、 このスクリプトはメンテナンスしていないので非推奨です。

Contributing

Welcome to contribute to this repository! For more details, please refer to CONTRIBUTING.md.

License

MIT