← Index
Source: docs/zsub/work-env.md (auto-generated by scripts/generate-docs-html.mjs — edit the .md, not this file)

Work-Env

karabiner .gitconfig

Mac Setting

.ssh 복사

iCloud/pooh/ssh.tar

Homebrew, OhMyZsh 설치

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

커맨드창에서 code 명령어 설정

xcode command/brew/zsh/iterm2/karabiner install

xcode-select —-install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install --cask iterm2 | brew install zsh | brew install karabiner-elements
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Chrome extension

Markdown 파일 자동으로 보기

karanbiner/iterm2/git 및 기타 파일

gpt shortcut

설정 방법

Apple Scripts

tell application "System Events"
  keystroke ": show me corrected version for my english, and answer my message in detail"
	key code 36 -- Presses "Enter" (Return key)
end tell
tell application "System Events"
  keystroke ": create sentence with this text"
	key code 36 -- Presses "Enter" (Return key)
end tell
tell application "System Events"
  keystroke ": translate into korean and explain in english"
	key code 36 -- Presses "Enter" (Return key)
end tell
tell application "System Events"
  keystroke ": summarize this in brief"
	key code 36 -- Presses "Enter" (Return key)
end tell
tell application "System Events"
  keystroke ": translate into english and answer in english"
	key code 36 -- Presses "Enter" (Return key)
end tell

Warp/GitKraken/Slack

https://www.gitkraken.com/ https://www.warp.dev/ Slack on AppStore

awscli 설치 및 aws configure

aws cli

$ aws configure
AWS Access Key ID: 맥 메모에 있음
AWS Secret Access Key : 맥 메모에 있음.
Default region name [None]: ap-northeast-2
Default output format [None]:

echo $SHELL로 쉘 확인하고 아래 .zshrc에 복사

`단축키` 부분으로 이동

.zshrc에 테마 찾아서 복사

ZSH_THEME="robbyrussell"

finder 열고 다음 실행하면 숨김 파일 보임

Command + Shift + .

node version

이걸 해야 매번 nvm use 20을 안해도 됨

export PATH="/path/to/node-v20.19.0/bin:$PATH"

gemini & codex

nvm use 20
brew install gemini-cli
gemini

.zshrc 세팅

gemini settings.json

chatgpt-cli

brew tap kardolus/chatgpt-cli && brew install chatgpt-cli

Set the OPENAI_API_KEY environment variable to your ChatGPT secret key. To set the environment variable, you can add the following line to your shell profile (e.g., ~/.bashrc, ~/.zshrc, or ~/.bash_profile), replacing your_api_key with your actual key:

export OPENAI_API_KEY="your_api_key"

To enable history tracking across CLI calls

mkdir -p ~/.chatgpt-cli

To start interactive mode, use the -i or --interactive flag:

chatgpt --interactive

To use the pipe feature, create a text file containing some context. Then, use the pipe feature to provide this context to ChatGPT:

cat context.txt | chatgpt "What kind of toy would Kya enjoy?"

And run this

chatgpt what is the capital of the Netherlands

List the models

chatgpt --list-models

Set a model

chatgpt --set-model o1-mini

npm yarn docker install

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
npm install -g yarn
brew install cask docker
brew install cask docker-compose

nvm install

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash source ~/.nvm/nvm.sh

https://www.docker.com/products/docker-desktop/ 도커 Desktop (linked0/**)

rust/postgresql install

pip3 install git+https://github.com/elyase/ethers-py --break-system-packages

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh export PATH="$HOME/.cargo/bin:$PATH" cargo install sqlx-cli

brew update brew install postgresql brew services start postgresql

psql postgres <== 접속해볼 수 있음.

MySql Server 설치

Posgresql Server 설치

Whale, Miro, onenote, Visual Studio, Xcode, Github CLI, IDEA

ETC

VS Code Plugin

VS Code Setting

"[typescript]": {
        "editor.tabSize": 2,
        "editor.insertSpaces": true // true if you prefer spaces over tabs
    },
    "[solidity]": {
        "editor.tabSize": 2, // or the number you prefer for Solidity
        "editor.insertSpaces": true // true if you prefer spaces over tabs
    },

How to Show the .git Folder in VS Code

hardhat & foundry

hardhat

foundry

curl -L https://foundry.paradigm.xyz | bash
source /Users/jay/.zshenv
brew install libusb
brew link libusb
source ~/.zshrc
foundryup
forge --version

기타

hidutil property --set '{"CapsLockDelayOverride":10}'
/broadcast/*

😈 Calendar 추가(Dev Team) 😈 스타일가이드: https://github.com/bpfkorea/agora/blob/v0.x.x/doc/Style.md, 상세한 설명 필요