mirror of
				https://github.com/shokinn/.files.git
				synced 2025-11-03 20:18:10 +00:00 
			
		
		
		
	Use a Brewfile to install software, which is required to bootstrap my mac.
This commit is contained in:
		
							parent
							
								
									3d8dbbbb2f
								
							
						
					
					
						commit
						bc3a9f1222
					
				
					 2 changed files with 11 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -6,12 +6,15 @@ I manage my dotfiles using [dotdrop](https://github.com/deadc0de6/dotdrop).
 | 
			
		|||
 | 
			
		||||
### Script
 | 
			
		||||
 | 
			
		||||
1. Install [Homebrew](https://brew.sh/)
 | 
			
		||||
2. 
 | 
			
		||||
 | 
			
		||||
```shell
 | 
			
		||||
[[ ! $(command -v brew) ]] && /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" \
 | 
			
		||||
  ; brew update \
 | 
			
		||||
  && brew install coreutils libmagic uv fzf \
 | 
			
		||||
  && uv tool install --allow-python-downloads --python 3.11 dotdrop \
 | 
			
		||||
  && git clone https://github.com/shokinn/.files ~/.files \
 | 
			
		||||
  && brew bundle install --file=~/.files/misc/bootstrap.Brewfile \
 | 
			
		||||
  && uv tool install --allow-python-downloads --python 3.11 dotdrop \
 | 
			
		||||
  && echo "Enter profile name (leave empty for default): " \
 | 
			
		||||
  && read DOTDROP_PROFILE \
 | 
			
		||||
  && [[ -n ${DOTDROP_PROFILE} ]] && DOTDROP_PROFILE="-p ${DOTDROP_PROFILE}" || DOTDROP_PROFILE="" \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										6
									
								
								misc/bootstrap.Brewfile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								misc/bootstrap.Brewfile
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,6 @@
 | 
			
		|||
brew "coreutils"
 | 
			
		||||
brew "fzf"
 | 
			
		||||
brew "libmagic"
 | 
			
		||||
brew "mas"
 | 
			
		||||
brew "uv"
 | 
			
		||||
brew "zsh"
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue