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

# 启动沙箱并连接到终端

export const SandboxCliConfigHint = () => {
  if (typeof document === "undefined") {
    return null;
  } else {
    return <Note>在运行本文档中命令行相关的示例代码前，请参考 <Link href="/sandbox/cli">教程</Link> 来进行安装 PPIO 沙箱命令行工具，并完成  <Link href="/sandbox/cli-auth">认证</Link>。</Note>;
  }
};

<SandboxCliConfigHint />

通过下面的命令，您可以使用 PPIO 沙箱命令行工具启动沙箱并连接到终端。

```bash Bash icon="terminal" theme={null}
ppio-sandbox-cli sandbox create <template-id>
```
