[Memo] Installed on Macbook Pro

Development environment construction memo for Mac

What did you do? I may forget it, so leave it as a memorandum For now, Java shop environment construction + Docker base (Mainly front-end technology related Docker)

Java

Amazon Corretto 8 & 11

Install according to the installation guide page (If you are not particular about it, you can install it with brew described later)

Check the pre-installed version

$ /usr/libexec/java_home -V
Matching Java Virtual Machines (2):
    11.0.3, x86_64:	"Amazon Corretto 11"	/Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk/Contents/Home
    1.8.0_252, x86_64:	"Amazon Corretto 8"	/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home
↑ Remember the version

Add JAVA_HOME to the environment variable (~ / .bash_profile) Note the options in / usr / libexec / java_home, this is lowercase

~/.bash_profile


# Amazon Corretto 11
#export JAVA_HOME=`/usr/libexec/java_home -v 11.0.3`
# Amazon Corretto 8
export JAVA_HOME=`/usr/libexec/java_home -v 1.8.0_252`

I don't execute javac commands directly, so I only set environment variables

Package manager

Those who manage the version of tools with brew Install according to the official procedure

Check the installed packages with the following command

$ brew list

brew update

$ brew update

FORMULA update

For example, when updating the installed Gradle

$ brew upgrade [FROMULA...]

Gradle

$ brew install gradle

nodebrew

node.js management tool Currently I am not using node.js because it is running in docker container

$ brew install nodebrew

Environment variable (~ / .bash_profile) added to PATH

~/.bash_profile


export PATH=$HOME/.nodebrew/current/bin:$PATH

Reflect with the source command

$ source ~/.bash_profile

node.js

Install by version using nodebrew

$ nodebrew install v13.13.0

Switch to the version you want to use

$ nodebrew use v13.13.0
$ node -v
v13.13.0

If multiple versions are installed, check with the list option

$ nodebrew list
v10.14.1
v12.13.0
v13.13.0

golang

Currently in docker container (ry

$ brew install go
$ go version
go version go1.13.4 darwin/amd64

Docker

Install Docker Desktop Before I knew it, the compulsion to create an account was gone (I did)

After installing docker, set "Resources"> "ADVANCED" and "FILE SHARING" from Preference.

IntelliJ IDEA CE

I haven't added many plugins

Visual Studio Code

DL from Visual Studio Code, unzip and add to application

Extensions

Settings

Fork

https://git-fork.com/ Git client

ARC

DL from the Advanced REST client page and add it to the application after decompressing Not needed if you can do your best with curl

CotEditor

Install from Mac App Store Text editor

The Unarchiver

Install from Mac App Store Decompression tool, to deal with character code problems when interacting with Windows (Mainly compressed on Windows and used for decompression on Mac)

Display Menu

Install from Mac App Store To display Retina display in DbD

Recommended Posts

[Memo] Installed on Macbook Pro
Xdebug on Docker doesn't work on M1 Macbook Pro
Install Docker on Windows 10 PRO
Install Sidekiq pro on Rails
Launch Servlet + Tomcat locally on Macbook Pro (text editor + terminal only)
Tracking Authorization Status memo on iOS 14
I installed TinyTinyRSS on Cent OS 8
Installed on Lombok Mac (using STS)
Ruby on Rails 6.0 environment construction memo
Java cannot be installed on Ubuntu 13.04
I installed F-Revo CRM 7.3 on CentOS 7.7