mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:02:46 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			34 lines
		
	
	
	
		
			1 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
	
		
			1 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ## Name
 | |
| 
 | |
| pkg - Package Manager
 | |
| 
 | |
| ## Synopsis
 | |
| 
 | |
| ```**sh
 | |
| $ pkg [-l] [-d] [-u] [-v] [-q package]
 | |
| ```
 | |
| 
 | |
| ## Description
 | |
| 
 | |
| This program can list installed packages and query for [available packages](https://github.com/SerenityOS/serenity/blob/master/Ports/AvailablePorts.md). The [Ports for SerenityOS website](https://ports.serenityos.net) has more detailed information about available packages.
 | |
| 
 | |
| It does not currently support installing and uninstalling packages. To install third-party software use the [Ports system](https://github.com/SerenityOS/serenity/blob/master/Ports/README.md).
 | |
| 
 | |
| ## Options
 | |
| 
 | |
| * `-l`, `--list-manual-ports`: Show all manually-installed ports
 | |
| * `-d`, `--list-dependency-ports`: Show all dependencies' ports
 | |
| * `-u`, `--update-ports-database`: Sync/Update ports database
 | |
| * `-v`, `--verbose`: Verbose output
 | |
| * `-q`, `--query-package`: Query the ports database for package name
 | |
| 
 | |
| ## Arguments
 | |
| 
 | |
| * `package`: The name of the package you want to query
 | |
| 
 | |
| ## Example
 | |
| 
 | |
| ```sh
 | |
| # Query the ports database for the serenity-theming package
 | |
| $ pkg -q serenity-theming
 | |
| ```
 | 
