---
# System prepended metadata

title: Cli-Commands

---

# Cli-Commands

![](https://i.imgur.com/yeRoqQ2.png)

## All Supported Commands
### Packages
- Singular
    - `cimux-ins pkg install redis`
    - `cimux-ins pkg remove redis`
    - `cimux-ins pkg stat redis`
- Plural
    - `cimux-ins pkgs install redis rolldice`
    - `cimux-ins pkgs remove redis rolldice`
    - `cimux-ins pkgs list` // will list all
    - `cimux-ins pkgs list --available` // will list available packages
    - `cimux-ins pkgs stat` // will provide stats for all packages
    - `cimux-ins pkgs stat redis rolldice` // will provide stats for selected
## stat / status
- Command : `cimux-ins packages stat`
Console Output : 
```shell=
# Packages Status Summary
- Total Packages available: [#number]
- Total Packages installed : [#number]
- Total Packages removed: [#number]

## Installed
- PackageName@v0.01
- PackageName@v0.01

## Removed
- PackageName@v0.01
- PackageName@v0.01

## Available
- PackageName@v0.01
- PackageName@v0.01
```
- Command : `cimux-ins packages stat --json`
Console Output : 
```json=
{
  Title : "Packages Status"
  Summary : [
    "Total" : [
      "Installed" : number,
      "Removed" : number,
      "Available" : number,
    ]
  ],
 "Installed" : [
  {
    "PackageName" : "Name",
    "PackageVersion" : "v0.0.2",
    "Installed Date" : date value,
    "FullForm" : "packageName@v0.0.2"
   } ,
 {
    "PackageName" : "Name",
    "PackageVersion" : "v0.0.2",
    "Installed Date" : date value,
    "FullForm" : "packageName@v0.0.2"
   } 
 ]
}
```
- Command : `cimux-ins packages stat [pkgname]`
Console Output : 
```shell=
Package Name
Package Description
Available Versions
Installed On [If in installed package Db]
Removed On [If in removed package Db]
```
- Command : `cimux-ins packages stat [pkgname] --json`
Console Output : 
```json=
{
  "Title" : "Packages Status [pkgname]",
  "Description":"",
    "Available Versions":[
        "",
        ""
    ]
 "Installed" : [
  {
    "Installed Date" : date value,
    "FullForm" : "packageName@v0.0.2"
   } ,
 {
    "Removed Date" : date value,
    "FullForm" : "packageName@v0.0.2"
   } , 
 ]
}
```
## list
- Command : `cimux-ins packages list`
Console Output : 
```shell=

## Installed Packages
- PackageName@v0.01
- PackageName@v0.01

## Removed  Paca
- PackageName@v0.01
- PackageName@v0.01

## Available
- PackageName@v0.01
- PackageName@v0.01
```
- Command : `cimux-ins packages list --json`
Console Output : 
```json=
{
  Title : "Packages List"
 "Installed" : [
  {
    "PackageName" : "Name",
    "PackageVersion" : "v0.0.2",
    "Installed Date" : date value,
   } ,
 {
    "PackageName" : "Name",
    "PackageVersion" : "v0.0.2",
    "Installed Date" : date value,
   } 
 ]
"Removed" : [
  {
    "PackageName" : "Name",
    "PackageVersion" : "v0.0.2",
    "Removed Date" : date value,
   } ,
 {
    "PackageName" : "Name",
    "PackageVersion" : "v0.0.2",
    "Removed Date" : date value,
   } 
 ]
"Available" : [
  {
    "PackageName" : "Name",
    "PackageVersion" : "v0.0.2",
    "IsInstalled":true,
    "IsRemoved":false,  
   } ,
 {
    "PackageName" : "Name",
    "PackageVersion" : "v0.0.2",
    "IsInstalled":true,
    "IsRemoved":false, 
   } 
 ]
}
```
- Command : `cimux-ins packages list --available`
Console Output : 
```shell=
## Available
- PackageName@v0.01
- PackageName@v0.01
```
- Command : `cimux-ins packages list --json --available`
Console Output : 
```json=
{
  Title : "Available Packages"
"Available" : [
  {
    "PackageName" : "Name",
    "PackageVersion" : "v0.0.2",
    "IsInstalled":true,
    "IsRemoved":false,
   } ,
 {
    "PackageName" : "Name",
    "PackageVersion" : "v0.0.2",
    "IsInstalled":true,
    "IsRemoved":false,
   } 
 ]
}
```