---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# pueue restart

> Restart tasks.
> More information: <https://github.com/Nukesor/pueue#how-to-use-it>.

- Restart a specific task:

`pueue restart {{task_id}}`

- Restart multiple tasks at once, and start them immediately (do not enqueue):

`pueue restart {{[-k|--immediately]}} {{task_id}} {{task_id}}`

- Restart a specific task from a different path:

`pueue restart --edit-path {{task_id}}`

- Edit a command before restarting:

`pueue restart {{[-e|--edit]}} {{task_id}}`

- Restart a task in-place (without enqueuing as a separate task):

`pueue restart {{[-i|--in-place]}} {{task_id}}`

- Restart all failed tasks and stash them:

`pueue restart {{[-a|--all-failed]}} --stashed`
