---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# apx stacks

> Manage stacks in `apx`.
> Note: User-created stack configurations are stored in `~/.local/share/apx/stacks`.
> More information: <https://docs.vanillaos.org/docs/en/apx-manpage#stacks>.

- Interactively create a new stack configuration:

`apx stacks new`

- Interactively update a stack configuration:

`apx stacks update {{name}}`

- List all available stack configurations:

`apx stacks list`

- Remove a specified stack configuration:

`apx stacks rm --name {{string}}`

- Import a stack configuration:

`apx stacks import --input {{path/to/stack.yml}}`

- Export the stack configuration (Note: The output flag is optional, it is exported to the current working directory by default):

`apx stacks export --name {{string}} --output {{path/to/output_file}}`
