https://github.com/heitang/dotfiles
https://github.com/heitang/dotfiles
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/heitang/dotfiles
- Owner: HeiTang
- License: mit
- Created: 2024-09-20T14:35:18.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-29T02:53:38.000Z (over 1 year ago)
- Last Synced: 2025-03-05T12:49:26.976Z (over 1 year ago)
- Language: Ruby
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dotfiles
## Run
1. 權限設定
```bash
chmod +x brew_setup.sh
```
2. 執行
```bash
./brew_setup.sh
```
## Homebrew Bundle
- [Homebrew/homebrew-bundle: 📦 Bundler for Homebrew](https://github.com/Homebrew/homebrew-bundle)
- 常用指令
| 指令 | 說明 |
| --- | --- |
| `brew bundle dump --describe` | 生成 Brewfile |
| `brew bundle install --file=` | 安裝 Brewfile 中的套件 |
| `brew bundle cleanup --force` | 清理未列在 Brewfile 中的套件 |
| `brew bundle check` | 檢查 Brewfile 中的套件是否已安裝 |
| `brew bundle list` | 列出 Brewfile 中的套件 |
## 環境變數
- nvm
```bash
brew install nvm
source $(brew --prefix nvm)/nvm.sh
```
> Reference: https://collabnix.com/how-to-install-and-configure-nvm-on-mac-os/