> ## Documentation Index
> Fetch the complete documentation index at: https://docs2.openclaw.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Đặt lại

# `openclaw reset`

Đặt lại cấu hình/trạng thái cục bộ (giữ CLI đã cài đặt).

Tùy chọn:

* `--scope <scope>`: `config`, `config+creds+sessions`, hoặc `full`
* `--yes`: bỏ qua lời nhắc xác nhận
* `--non-interactive`: tắt lời nhắc; yêu cầu `--scope` và `--yes`
* `--dry-run`: in ra các hành động mà không xóa tệp

Ví dụ:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw backup create
openclaw reset
openclaw reset --dry-run
openclaw reset --scope config --yes --non-interactive
openclaw reset --scope config+creds+sessions --yes --non-interactive
openclaw reset --scope full --yes --non-interactive
```

Ghi chú:

* Chạy `openclaw backup create` trước nếu bạn muốn có một bản chụp có thể khôi phục trước khi xóa trạng thái cục bộ.
* Nếu bạn bỏ qua `--scope`, `openclaw reset` sử dụng lời nhắc tương tác để chọn nội dung cần xóa.
* `--non-interactive` chỉ hợp lệ khi cả `--scope` và `--yes` đều được đặt.

## Liên quan

* [Tham chiếu CLI](/vi/cli)
