mirror of
				https://github.com/jesseduffield/lazygit.git
				synced 2025-10-30 23:57:43 +02:00 
			
		
		
		
	Merge pull request #2372 from Ryooooooga/fix-installation-ubuntu
This commit is contained in:
		
							
								
								
									
										11
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								README.md
									
									
									
									
									
								
							| @@ -150,15 +150,10 @@ sudo eopkg install lazygit | ||||
| ### Ubuntu | ||||
|  | ||||
| ```sh | ||||
| LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep '"tag_name":' |  sed -E 's/.*"v*([^"]+)".*/\1/') | ||||
| ``` | ||||
|  | ||||
| ```sh | ||||
| LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*') | ||||
| curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz" | ||||
| ``` | ||||
|  | ||||
| ```sh | ||||
| sudo tar xf lazygit.tar.gz -C /usr/local/bin lazygit | ||||
| tar xf lazygit.tar.gz lazygit | ||||
| sudo install lazygit /usr/local/bin | ||||
| ``` | ||||
|  | ||||
| Verify the correct installation of lazygit: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user