> For the complete documentation index, see [llms.txt](https://jack80342.gitbook.io/spring-boot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jack80342.gitbook.io/spring-boot/vii.-spring-boot-cli/64.-using-the-cli/64.5-using-the-embedded-shell.md).

# 64.5 使用内嵌shell

Spring Boot包括完整的BASH和zsh shells的命令行脚本，如果这两种你都不使用（可能你是一个Window用户），那你可以使用`shell`命令启用一个集成shell。

```
$ spring shell
Spring Boot (v2.0.0.RELEASE)
Hit TAB to complete. Type \'help' and hit RETURN for help, and \'exit' to quit.
```

在内嵌shell中，可以直接运行其他命令：

```
$ version
Spring CLI v2.0.0.RELEASE
```

内嵌shell支持ANSI彩色输出和tab补全。如果需要运行一个原生命令，你可以使用`!`前缀，点击`ctrl-c`将退出内嵌shell。
