88 lines
2.2 KiB
Markdown
88 lines
2.2 KiB
Markdown
# install-sh
|
|
|
|
터미널 UI 도구 설치 스크립트 모음
|
|
|
|
## 지원 도구
|
|
|
|
- [bottom](https://github.com/ClementTsang/bottom) - 호스트 모니터링
|
|
- [lazygit](https://github.com/jesseduffield/lazygit) - Git 터미널 UI
|
|
|
|
## 설치
|
|
|
|
### MacOS / Linux
|
|
|
|
**bottom:**
|
|
```bash
|
|
curl -fsSL "https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-bottom.sh?ref_type=heads" | bash
|
|
```
|
|
|
|
**lazygit:**
|
|
```bash
|
|
curl -fsSL "https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-lazygit.sh?ref_type=heads" | bash
|
|
```
|
|
|
|
### Windows
|
|
|
|
**PowerShell**:
|
|
|
|
bottom:
|
|
```powershell
|
|
powershell -ExecutionPolicy Bypass -c "$t=\"$env:TEMP\install-bottom.ps1\"; iwr -useb 'https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-bottom.ps1' -OutFile $t; & $t"
|
|
```
|
|
|
|
lazygit:
|
|
```powershell
|
|
powershell -ExecutionPolicy Bypass -c "$t=\"$env:TEMP\install-lazygit.ps1\"; iwr -useb 'https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-lazygit.ps1' -OutFile $t; & $t"
|
|
```
|
|
|
|
|
|
|
|
## 도구별 사용법
|
|
|
|
### bottom
|
|
|
|
호스트 모니터링 터미널 UI 도구입니다.
|
|
|
|
- **CPU, 메모리, 디스크, 네트워크** 실시간 모니터링
|
|
- **프로세스 관리** (CPU/메모리 사용률별 정렬, 검색, 종료)
|
|
- **온도 센서 모니터링**
|
|
- **GPU 모니터링** (NVIDIA/AMD 지원)
|
|
|
|
```bash
|
|
btm
|
|
```
|
|
|
|
| 단축키 | 동작 |
|
|
| ----------- | -------------------- |
|
|
| `q` / `Esc` | 종료 |
|
|
| `F1` ~ `F5` | 탭 전환 |
|
|
| `↑` `↓` | 프로세스 선택 |
|
|
| `k` | 선택한 프로세스 종료 |
|
|
| `/` | 검색 |
|
|
|
|
### lazygit
|
|
|
|
Git을 위한 터미널 UI 도구입니다.
|
|
|
|
- **편리한 단축키**로 모든 git 작업 수행
|
|
- **커밋, 브랜치, stash, rebase** 시각적 관리
|
|
- **diff 뷰**로 변경사항 확인
|
|
- **merge conflict** 해결 도구
|
|
|
|
```bash
|
|
lazygit
|
|
```
|
|
|
|
| 단축키 | 동작 |
|
|
| --------------- | ------------------ |
|
|
| `q` | 종료 |
|
|
| `↓` `↑` `→` `←` | 화면 간 이동 |
|
|
| `Space` | 파일 Stage/Unstage |
|
|
| `c` | 커밋 작성 |
|
|
| `P` `p` | Push / Pull |
|
|
| `?` | 도움말 |
|
|
|
|
---
|
|
|
|
*GitLab: https://gitlab.com/publicproj/install-sh*
|