Back to Nocobase

nb session remove

docs/docs/en/api/cli/session/remove.md

2.1.25625 B
Original Source

nb session remove

Remove session integration for NB_SESSION_ID.

This command cleans up shell configuration previously written by nb session setup. If opencode plugin integration is detected, it removes that integration too.

Usage

bash
nb session remove [flags]

Parameters

ParameterTypeDescription
--shellstringTarget shell. Supported values: bash, zsh, fish, powershell, cmd

Examples

bash
nb session remove
nb session remove --shell zsh