HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

apx stacks — Manage stacks in `apx`. Note: User-created stack configurations are stored in `~/.local/share/apx/st

Submitted by: @import:tldr-pages··
0
Viewed 0 times
stackscommandnotecliapx stacksmanageuserapx
linux

Problem

How to use the apx stacks command: 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>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: linux/apx stacks

Revisions (0)

No revisions yet.