mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 19:26:00 +02:00
devpod: add page
This commit is contained in:
parent
fb26446b6f
commit
89728feedf
1 changed files with 36 additions and 0 deletions
36
pages/common/devpod.md
Normal file
36
pages/common/devpod.md
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
# devpod
|
||||||
|
|
||||||
|
> Launch reproducible development environments using Docker, Kubernetes, or SSH.
|
||||||
|
> More information: <https://devpod.sh/docs/quickstart/devpod-cli/>.
|
||||||
|
|
||||||
|
- Install the DevPod CLI on Linux:
|
||||||
|
|
||||||
|
`curl -L -o devpod https://github.com/loft-sh/devpod/releases/latest/download/devpod-linux-amd64 && sudo install -m0755 devpod /usr/local/bin`
|
||||||
|
|
||||||
|
- Add a provider such as Docker or Kubernetes:
|
||||||
|
|
||||||
|
`devpod provider add {{provider-name}}`
|
||||||
|
|
||||||
|
- List all available providers:
|
||||||
|
|
||||||
|
`devpod provider list-available`
|
||||||
|
|
||||||
|
- Start a workspace from a GitHub repository with a specific IDE:
|
||||||
|
|
||||||
|
`devpod up {{github.com/user/repo}} {{[-i|--ide]}} {{vscode}}`
|
||||||
|
|
||||||
|
- Start a workspace from a local directory:
|
||||||
|
|
||||||
|
`devpod up {{./path/to/project}}`
|
||||||
|
|
||||||
|
- Recreate an existing workspace:
|
||||||
|
|
||||||
|
`devpod up {{workspace-name}} {{[-r|--recreate]}}`
|
||||||
|
|
||||||
|
- Reset a workspace to a clean state:
|
||||||
|
|
||||||
|
`devpod up {{workspace-name}} {{[-x|--reset]}}`
|
||||||
|
|
||||||
|
- Add a custom provider from a GitHub repository:
|
||||||
|
|
||||||
|
`devpod provider add {{org/provider-repo}}`
|
Loading…
Add table
Reference in a new issue