Mac Initial SettingsPersonal Reminder

0

What's going on?

I'll leave it as a personal memoir. Please forgive 🙇 ♂️ me if I am wrong.

environment

macOS 11.1 Xcode 12.3 Homebrew 2.7.0

Installing Xcode,Homebrew

To put it simply, Xcode is a big app that contains the stuff you need to move Homebrew (described later)

Installing Xcode

IMG_3727.JPGInstall from the AppStore normally Then launch the terminal .app and click

terminal.app
$ xcode-select --install

Run I will proceed in a way that surrenders myself to the dialog that came out.

Installing Homebrew

Homebrew is a Mac package manager, isn't it? Copy the official site here Screen Shot 2020-12-30 at 22.30.27.png Paste into terminal .app

terminal.app
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

2020/12/30 Since it is as of now, please check the official site when doing it

Java Preferences

The school I go to has Java classes, so I thought I'd do it by the way. I want to bundle JavaFX, so I will use LibericaJDK Go here I think it would be nice if you could choose between LTS versions without any problems. Screen Shot 2020-12-31 at 0.19.18.png Select JDK11 → FullJDK → Download DMG. Once downloaded, launch the installer and install it. When the installation is finished, launch Terminal and click

terminal.app
/usr/libexec/java_home -V "自分がインストールしたバージョン"

Screen Shot 2020-12-31 at 0.22.40.pngIt would be nice if it was like ↑

Next, set the environment variable path ~/.zshrc or something like that

export JAVA_HOME=`/usr/libexec/java_home -v "自分のバージョン"`
export PATH=${JAVA_HOME}/bin:${PATH}

Please add it in the form of

Share:
0
tyautyau56
Author by

tyautyau56

Updated on February 15, 2021