> For the complete documentation index, see [llms.txt](https://beaker-browser.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://beaker-browser.gitbook.io/docs/beginner/creating-files-and-folders.md).

# Creating Files and Folders

## In the editor

Visit your hyperdrive and [open the editor](/docs/beginner/using-the-editor.md). Then expand the files listing by clicking on the ellipsis icon.

![Open the files listing by clicking on the ellipsis icon.](https://3230537287-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvGfMSYfHlK61i8WW-1%2F-M60emL6hQcddzhpGhjU%2F-M40WcsSsTq6vZx3bl_j%2Feditor-list-files.png?alt=media\&token=4ecf7184-b67a-418a-9760-b2b9af1ee087)

Right-click in the files listing (but not on a file) and select "New file" or "New folder."

![](https://3230537287-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvGfMSYfHlK61i8WW-1%2F-M60eqlJB0AjcqUAV910%2F-M41XXT_khRhCm4KuNyi%2Feditor-new-file-folder.png?alt=media\&token=dfb5fd50-b755-44a4-a32c-9228132293df)

You will be prompted for the file or folder name. After choosing a name, the file/folder will appear in the listing.

## In the files explorer

Visit your hyperdrive and open the files explorer by clicking "Explore Files."

![](https://3230537287-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvGfMSYfHlK61i8WW-1%2F-M60eqlJB0AjcqUAV910%2F-M41UeNSQFyEgd9hQUMW%2Fopen-files-explorer.png?alt=media\&token=0139aab8-14aa-40f8-96bf-d635333a7d15)

Right-click in the files listing (but not on a file) and select "New file" or "New folder."

![](https://3230537287-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvGfMSYfHlK61i8WW-1%2F-M60eqlJB0AjcqUAV910%2F-M41V8FGfOLDeI8A5cHn%2Ffiles-explorer-new-file-folder.png?alt=media\&token=8d929511-0b4c-4fa2-9703-a9db7294f39b)

You will be prompted for the file or folder name. After choosing a name, the file/folder will appear in the listing.

## In the terminal

Visit your hyperdrive and open the terminal by clicking "Terminal."

![](https://3230537287-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvGfMSYfHlK61i8WW-1%2F-M60eqlJB0AjcqUAV910%2F-M41Vmi8Bvvvh28PJTj4%2Fopen-terminal.png?alt=media\&token=3c407c6f-cb03-4077-a12c-7c81cf39da70)

You can create a directory by typing `mkdir` followed by the folder name.

![Creating a folder named "test."](https://3230537287-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvGfMSYfHlK61i8WW-1%2F-M40X5V90xKAk_14Slzy%2F-M41W5uDdMhPz5KY8rlD%2Fterminal-mkdir.png?alt=media\&token=66684063-ed80-471b-aa20-c26aef5b2fa2)

You can create a file by typing `edit` followed by the filename.

![Creating a file named "test.txt".](https://3230537287-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvGfMSYfHlK61i8WW-1%2F-M40X5V90xKAk_14Slzy%2F-M41WOnoxWwoHrJ5EN9H%2Fterminal-edit.png?alt=media\&token=0e6a4acf-6043-4e56-a6d6-c2f2b9803177)

Using `edit` will open the editor where you can then write the content of the file.
