tmux 추가
This commit is contained in:
1 parent
a056dc268a
commit
0fe2ad11d5
4 files changed
+464
-2
No files matched your search
@@ -4,6 +4,7 @@
|
||||
|
||||
## 지원 도구
|
||||
|
||||
- [tmux](https://github.com/tmux/tmux) - 터미널 멀티플렉서
|
||||
- [bottom](https://github.com/ClementTsang/bottom) - 호스트 모니터링
|
||||
- [lazygit](https://github.com/jesseduffield/lazygit) - Git 터미널 UI
|
||||
- [ctop](https://github.com/bcicen/ctop) - 컨테이너 모니터링
|
||||
@@ -14,60 +15,112 @@
|
||||
|
||||
### MacOS / Linux
|
||||
|
||||
**tmux:**
|
||||
|
||||
```bash
|
||||
curl -fsSL "https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-tmux.sh?ref_type=heads" | bash
|
||||
```
|
||||
|
||||
**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
|
||||
```
|
||||
|
||||
**ctop:**
|
||||
|
||||
```bash
|
||||
curl -fsSL "https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-ctop.sh?ref_type=heads" | bash
|
||||
```
|
||||
|
||||
**uv:**
|
||||
|
||||
```bash
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
```
|
||||
|
||||
**pi (Pi Coding Agent + 추천 패키지):**
|
||||
|
||||
```bash
|
||||
curl -fsSL "https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-pi.sh?ref_type=heads" | bash
|
||||
```
|
||||
|
||||
### Windows (PowerShell):
|
||||
|
||||
**tmux:**
|
||||
|
||||
```powershell
|
||||
powershell -ExecutionPolicy Bypass -c "$t=\"$env:TEMP\install-tmux.ps1\"; iwr -useb 'https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-tmux.ps1' -OutFile $t; & $t"
|
||||
```
|
||||
|
||||
**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"
|
||||
```
|
||||
|
||||
**ctop:**
|
||||
|
||||
```powershell
|
||||
powershell -ExecutionPolicy Bypass -c "$t=\"$env:TEMP\install-ctop.ps1\"; iwr -useb 'https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-ctop.ps1' -OutFile $t; & $t"
|
||||
```
|
||||
|
||||
**uv:**
|
||||
|
||||
```powershell
|
||||
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
|
||||
```
|
||||
|
||||
**pi (Pi Coding Agent + 추천 패키지):**
|
||||
|
||||
```powershell
|
||||
powershell -ExecutionPolicy Bypass -c "$t=\"$env:TEMP\install-pi.ps1\"; iwr -useb 'https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-pi.ps1' -OutFile $t; & $t"
|
||||
```
|
||||
|
||||
## 도구별 사용법
|
||||
|
||||
### tmux
|
||||
|
||||
터미널 멀티플렉서입니다. 하나의 터미널에서 여러 세션과 창을 관리할 수 있습니다.
|
||||
|
||||
- **세션 관리** — 백그라운드 세션 유지, detach/attach
|
||||
- **창 분할** — 수평/수직 분할로 여러 패널 동시 작업
|
||||
- **vim 스타일 이동** — h/j/k/l로 패널 간 이동
|
||||
- **마우스 지원** — 마우스로 패널 선택 및 스크롤
|
||||
|
||||
```bash
|
||||
tmux # 새 세션 시작
|
||||
tmux new -s <name> # 이름 지정 세션 시작
|
||||
tmux attach -t <name> # 세션 접속
|
||||
tmux ls # 세션 목록
|
||||
```
|
||||
|
||||
| 단축키 | 동작 |
|
||||
| ---------------- | ------------------------ |
|
||||
| `Ctrl-a` | Prefix key (기본 Ctrl-b) |
|
||||
| `Prefix \|` | 수평 분할 |
|
||||
| `Prefix -` | 수직 분할 |
|
||||
| `Prefix h/j/k/l` | 패널 이동 (vim 스타일) |
|
||||
| `Prefix r` | .tmux.conf 다시 로드 |
|
||||
| `Prefix Space` | 레이아웃 전환 |
|
||||
| `Prefix o` | 패널 회전 |
|
||||
| `Prefix ,` | 창 이름 변경 |
|
||||
| `Prefix &` | 창 닫기 |
|
||||
|
||||
> `install-tmux` 스크립트는 `.tmux.conf`를 홈 디렉토리에 자동 배포합니다. 기존 파일이 있으면 백업 후 덮어씁니다.
|
||||
|
||||
### bottom
|
||||
|
||||
호스트 모니터링 터미널 UI 도구입니다.
|
||||
@@ -158,10 +211,10 @@ CLI 기반 AI 코딩 어시스턴트입니다. `install-pi` 스크립트는 Pi
|
||||
| [pi-docparser](https://pi.dev/packages/pi-docparser) | 문서 파싱 도구 — PDF, 오피스 문서, 스프레드시트, 이미지, OCR |
|
||||
| [pi-ollama-cloud](https://pi.dev/packages/pi-ollama-cloud?name=ollama) | Ollama Cloud 제공자 플러그인 — 동적 모델 발견, 웹 검색/패치 도구, 로컬 서버 불필요 |
|
||||
|
||||
|
||||
> **Ollama Cloud 사용 시**: `~/.pi/agent/auth.json`에 API 키를 설정하세요. 자세한 내용은 [pi-ollama-cloud 문서](https://pi.dev/packages/pi-ollama-cloud?name=ollama)를 참조하세요.
|
||||
|
||||
> ~/.pi/agent/auth.json에 "api.key" : "YOUR_API_KEY" 형태로 추가한다.
|
||||
|
||||
```json
|
||||
{
|
||||
"anthropic": {
|
||||
@@ -185,4 +238,4 @@ pi list # 설치된 패키지 목록
|
||||
|
||||
---
|
||||
|
||||
*GitLab: https://gitlab.com/publicproj/install-sh*
|
||||
_GitLab: https://gitlab.com/publicproj/install-sh_
|
||||
Reference in new issue
Block a user