⌘
Langbase
Sign up
— free account
Login
Pipes
Memory
Models
Explore
Learn
Docs
Changelog
demo
/
daytona-workspaces
Public
Runs
6
Tokens
3.5K
Fork
Pipe
Chat
gpt-4o-mini
Memory
Prompt: System Instructions
Examples
Compare Versions
I want you to act as a support agent. Your name is "Daytona AI Assistant". You will provide me with answers from the given info. If the answer is not included, say exactly "Hmm, I am not sure. Please check the docs at https://www.daytona.io/docs or contact support" and stop after that. Never break character. Less wordy answers, to the point. Context: Workspaces: {{workspaces}}
I'm stuck, unable to find the port on local host, how do I do that?
ADD
MESSAGE BY
User
User
'AI Assistant
AI Assistant
Fork the Pipe
— to test
it in the playground here
About
Ask anything about Daytona workspaces
Meta
JSON mode
OFF
ON
Moderation
OFF
ON
Stream mode
OFF
ON
Store messages
OFF
ON
Variables
Copy code
{{
workspaces
}}
Workspaces Workspaces contain your project’s codebase, dependencies and packages, and configuration. Daytona allows you to create Workspaces on various Git Providers Create a Workspace You can create a Workspace. Prerequisites A working installation of Daytona. At least 1 Target configured. From a Configured Git Provider Procedure Execute the following command to start the guided Workspace creation process: Terminal window daytona create Select the Git Provider and repository you want your Workspace to be configured with. Enter a name for your Workspace. Note You can press F10 to configure advanced settings for your Workspace, including setting the Builder. Wait for Daytona to create the Workspace. Tip To automatically open a new Workspace in Visual Studio Code after creation, use the --code flag. Example: Terminal window daytona create --code From an Arbitrary Git URL Procedure Execute the following command to create a Workspace from a remote Git repository: Terminal window daytona create <REPO_URL> Example Terminal window daytona create https://github.com/daytonaio/daytona.git Wait for Daytona to create the Workspace. List Workspaces You can list all previously created Workspaces. Execute the following command to see a list of Workspaces: Terminal window daytona list Open An Existing Workspace You can open an existing Workspace in your IDE. Prerequisites A working installation of Daytona. At least 1 existing Workspace. Procedure Execute the following command to list existing Workspaces: Terminal window daytona code Select the Workspace you want to open. Note You can configure your preferred IDE. Refer to Set the Default IDE for more information. Delete a Workspace You can delete an existing Workspace. Prerequisites A working installation of Daytona. At least 1 existing Workspace. Procedure Run the following command: Terminal window $ daytona delete Select the desired Workspace for deletion in the list and hit Enter. Confirm the action. IDEs Daytona allows you to connect to your Workspace using your preferred IDE. Out of the box, Daytona can be configured to open your Workspace in the following IDEs: Visual Studio Code (VSCode) Desktop (Linux, macOS, Windows) Browser JetBrains IDEs CLion GoLand IntelliJ IDEA Ultimate PhpStorm Rider RubyMine WebStorm Terminal SSH Set the Default IDE You can set the default IDE used by Daytona. After setting the default IDE, it will be opened automatically and connected to your Workspace when using the daytona code command. Prerequisites A working installation of Daytona. Procedure Execute the following command to enter the IDE selection terminal UI: Terminal window daytona ide Select your preferred IDE from the list presented. Note When using the daytona code command with VS Code - Browser as your default IDE, Daytona will install OpenVSCode Server inside your project, forward the appropriate port to your local machine, and open your default browser automatically. Forward Ports from a Workspace Daytona supports flexible port forwarding, allowing you to access services running in a Workspace locally or via a shareable public URL. With port forwarding, you can work on your project in a Workspace and test your code externally. Access a Port Locally You can access services running in a Workspace on your local machine. Prerequisites A working installation of Daytona. A running Workspace with at least 1 service accessible via TCP/UDP. Procedure Execute the following command to forward a port from a running Workspace to your local machine: Terminal window daytona forward <PORT> <WORKSPACE> <PROJECT> Example: allow local access to port 4321 of the example-dev-env Workspace Terminal window daytona forward 4321 example-dev-env Access a Port via Public URL You can access services running in a Workspace via a generated public URL. This allows you to share your work with others in real-time. Note This feature uses a free public proxy service hosted by Daytona Platforms, Inc. By using this feature, you acknowledge that your data is processed in accordance with Daytona’s Privacy Policy and Terms of Service. Prerequisites A working installation of Daytona. A running Workspace with at least 1 service accessible via TCP/UDP. Procedure Execute the following command to generate a public URL for a port on a running Workspace: Terminal window daytona forward <PORT> <WORKSPACE> <PROJECT> --public Example: generate a URL to access port 4321 of the example-dev-env Workspace Terminal window daytona forward 4321 example-dev-env --public Tip Alternatively, you can generate a public URL by executing the following command in a Workspace’s shell: Terminal window daytona forward <PORT> --public
{{
question
}}
Tools
Add
No tools added to the Pipe.
Safety
Readme
daytona-workspaces