About This Page
This page has two parts:
- Install OpenShift Dev Spaces (Dev Spaces).
- Get a "Hello World" example application open in OpenShift Dev Spaces.
Install via Operator Hub
There is a recommended method for creating an OpenShift Dev Spaces instance in your OpenShift cluster. Explore the administrative guide for more information.
Install via command line
Important note: Creating the OpenShift Dev Spaces instance using the command line is supported for versions of OpenShift 4.10 or higher. It is recommended that you use the OpenShift Dev Spaces Operator, located in the Operator Hub, to install Dev Spaces.
1. Download and install the command-line tool,
- Navigate to https://developers.redhat.com/products/openshift-dev-spaces/download.
- Download the OpenShift Dev Spaces CLI management tool archive for version 3.0.
- Extract the archive.
- Place the extracted binary in your
dsc to create an OpenShift Dev Spaces instance in your cluster
- Log into your OpenShift cluster with cluster-admin rights.
- From your command line, run the command:
This will create an OpenShift Dev Spaces instance in the OpenShift namespace /project/openshift-devspaces (which will be created if it does not exist). When it is finished, the Dev Spaces URL will be returned.
Run a sample workspace
After logging in to your Dev Spaces instance, select any sample project.
Run a workspace for your own Git project
After logging in to your Dev Spaces instance, enter the Git Repo URL and click Create & Open. If your project does not already include a devfile.yaml, a default configuration will be loaded. To learn more about devfiles, see https://devfile.io/docs/devfile/2.1.0/user-guide/Last updated: June 8, 2023