← 返回命令列表

Linux command

devpod 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Create a new workspace

devpod up [github.com/user/repo]

Create workspace

devpod up [github.com/user/repo] --provider [docker]

List workspaces

devpod list

Connect to workspace

devpod ssh [workspace_name]

Stop a workspace

devpod stop [workspace_name]

Delete a workspace

devpod delete [workspace_name]

Add a provider

devpod provider add [kubernetes]

说明

DevPod is an open-source tool for creating reproducible development environments based on devcontainer.json specifications. It abstracts infrastructure by supporting multiple providers including Docker, Kubernetes, and cloud VMs. DevPod workspaces are created from git repositories, local directories, or container images. The tool automatically provisions infrastructure, builds the dev container, and connects your IDE. It supports VS Code, JetBrains IDEs, and SSH access. The provider architecture allows running the same development environment locally with Docker or remotely on cloud infrastructure, maintaining consistency regardless of where the environment runs.

参数

up _SOURCE_
Create workspace from git repo, folder, or image.
--provider _PROVIDER_
Specify infrastructure provider.
--ide _IDE_
IDE to use (vscode, openvscode, cursor, etc.).
list
List all workspaces.
ssh _WORKSPACE_
SSH into workspace.
stop _WORKSPACE_
Stop running workspace.
delete _WORKSPACE_
Delete workspace.
--help
Display help information.

FAQ

What is the devpod command used for?

DevPod is an open-source tool for creating reproducible development environments based on devcontainer.json specifications. It abstracts infrastructure by supporting multiple providers including Docker, Kubernetes, and cloud VMs. DevPod workspaces are created from git repositories, local directories, or container images. The tool automatically provisions infrastructure, builds the dev container, and connects your IDE. It supports VS Code, JetBrains IDEs, and SSH access. The provider architecture allows running the same development environment locally with Docker or remotely on cloud infrastructure, maintaining consistency regardless of where the environment runs.

How do I run a basic devpod example?

Run `devpod up [github.com/user/repo]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does up _SOURCE_ do in devpod?

Create workspace from git repo, folder, or image.