mirror of
				https://github.com/shokinn/.files.git
				synced 2025-11-04 04:28:11 +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
 | 
					### Script
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					1. Install [Homebrew](https://brew.sh/)
 | 
				
			||||||
 | 
					2. 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```shell
 | 
					```shell
 | 
				
			||||||
[[ ! $(command -v brew) ]] && /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" \
 | 
					[[ ! $(command -v brew) ]] && /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" \
 | 
				
			||||||
  ; brew update \
 | 
					  ; 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 \
 | 
					  && 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): " \
 | 
					  && echo "Enter profile name (leave empty for default): " \
 | 
				
			||||||
  && read DOTDROP_PROFILE \
 | 
					  && read DOTDROP_PROFILE \
 | 
				
			||||||
  && [[ -n ${DOTDROP_PROFILE} ]] && DOTDROP_PROFILE="-p ${DOTDROP_PROFILE}" || 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