mirror of
				https://github.com/taigrr/yq
				synced 2025-01-18 04:53:17 -08:00 
			
		
		
		
	updating readme
This commit is contained in:
		
							parent
							
								
									0e764c59ce
								
							
						
					
					
						commit
						5cfd9b05ee
					
				
							
								
								
									
										25
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										25
									
								
								README.md
									
									
									
									
									
								
							| @ -16,13 +16,23 @@ If you've been using v3 and want/need to upgrade, checkout the [upgrade guide](h | ||||
| 
 | ||||
| ### [Download the latest binary](https://github.com/mikefarah/yq/releases/latest) | ||||
| 
 | ||||
| ### MacOS: | ||||
| ### wget | ||||
| Use wget to download the pre-compiled binaries: | ||||
| 
 | ||||
| ```bash | ||||
| wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY} -O /usr/bin/yq &&\ | ||||
|     chmod +x /usr/bin/yq | ||||
| ``` | ||||
| 
 | ||||
| For instance, VERSION=v4.2.0 and BINARY=yq_linux_amd64 | ||||
| 
 | ||||
| ### MacOS / Linux via Homebrew: | ||||
| Using [Homebrew](https://brew.sh/) | ||||
| ``` | ||||
| brew install yq | ||||
| ``` | ||||
| 
 | ||||
| ### Ubuntu and other Linux distros supporting `snap` packages: | ||||
| ### Linux via snap: | ||||
| ``` | ||||
| snap install yq | ||||
| ``` | ||||
| @ -45,17 +55,6 @@ sudo mv /etc/myfile.tmp /etc/myfile | ||||
| rm /etc/myfile.tmp | ||||
| ``` | ||||
| 
 | ||||
| ### wget | ||||
| 
 | ||||
| Use wget to download the pre-compiled binaries: | ||||
| 
 | ||||
| ```bash | ||||
| wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY} -O /usr/bin/yq &&\ | ||||
|     chmod +x /usr/bin/yq | ||||
| ``` | ||||
| 
 | ||||
| For instance, VERSION=v4.0.0 and BINARY=yq_linux_amd64 | ||||
| 
 | ||||
| ### Run with Docker | ||||
| 
 | ||||
| #### Oneshot use: | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user