---
title: "vlt pkg"
description: "Documentation for the vlt client and the vlt registry."
url: "https://docs.vlt.io/client/commands/pkg"
image: "https://docs.vlt.io/og/client/commands/pkg"
lang: "en"
---

# vlt pkg

Usage:

```bash title="Terminal"
$ vlt pkg [<command>] [<args>]
```

Get or manipulate package.json values

## Subcommands

### get

Get a single value

```bash title="Terminal"
$ vlt pkg get [<key>]
```

### init

Initialize a new package.json file in the current directory

```bash title="Terminal"
$ vlt pkg init
```

### pick

Get multiple values or the entire package

```bash title="Terminal"
$ vlt pkg pick [<key> [<key> ...]]
```

### set

Set one or more key value pairs

```bash title="Terminal"
$ vlt pkg set <key>=<value> [<key>=<value> ...]
```

### delete

Delete one or more keys from the package

```bash title="Terminal"
$ vlt pkg delete <key> [<key> ...]
```

## Examples

Set a value on an object inside an array

```bash title="Terminal"
$ vlt pkg set "array[1].key=value"
```

Append a value to an array

```bash title="Terminal"
$ vlt pkg set "array[]=value"
```
