Remix IDE Cheatsheet
File Explorer
Use this Remix IDE reference while you build software engineering projects, review code for technical interview prep, or polish examples for a software engineer resume.
File Explorer Basics
Open with the folder icon (top of the left icon bar) or Ctrl+Shift+F.
The File Explorer is a virtual filesystem. Files live in browser localStorage unless you connect to GitHub, IPFS, or a local filesystem via Remixd.
Workspace Management
| Action | How |
|---|---|
| Create workspace | Workspaces dropdown → Create |
| Rename workspace | Workspaces dropdown → Rename |
| Delete workspace | Workspaces dropdown → Delete |
| Clone from GitHub | Workspaces dropdown → Clone Git Repository → paste URL |
| Fork a template | Create → Choose a template (e.g., ERC-20, ERC-721) |
Remix ships several starter templates: Blank, ERC-20, ERC-721, ERC-1155, MultiSig Wallet, Storage.
File & Folder Operations
Right-click any file or folder for context menu:
| Action | Context menu item |
|---|---|
| New file | New File (or + icon next to folder) |
| New folder | New Folder |
| Rename | Rename or click the pencil icon |
| Delete | Delete |
| Download | Download |
| Copy path | Copy path |
| Run as script | Run (.js/.ts files only) |
Uploading Files
- Upload files — drag files from your OS into the panel, or click the upload icon.
- Upload folder — click the folder-upload icon; preserves directory structure.
- Paste — create a new file and paste content directly into the editor.
Connecting to Local Files (Remixd)
Remixd bridges Remix IDE to a folder on your machine over a websocket.
# Install globally npm install -g @remix-project/remixd # Serve a local folder remixd -s ./my-project --remix-ide https://remix.ethereum.org
Then in Remix: File Explorer → Connect to Localhost (the plug icon). The localhost workspace appears alongside your other workspaces.
Only the served directory is exposed — Remixd does not give Remix full filesystem access.
GitHub Integration
Git is built into Remix — click the source-control icon in the left icon bar (DGIT is the legacy plugin name for this).
- Clone a repository (also reachable via Workspaces → Clone Git Repository) or init the current workspace.
- Log in with GitHub from the Git panel, or set a Personal Access Token under Settings → GitHub credentials, to enable push access.
- Commit, branch, pull, and push from the panel; the current branch shows in the status bar.
Default Folder Structure (from templates)
workspace/ ├── contracts/ ← Solidity source files ├── scripts/ ← Deployment / migration scripts (.js/.ts) ├── tests/ ← Unit tests (*_test.sol or *.test.js) └── artifacts/ ← Auto-generated ABI + bytecode after compile
Useful Icons in the File Explorer
| Icon | Action |
|---|---|
+ (file) | New file in current folder |
+ (folder) | New folder |
| Upload arrow | Upload file(s) from disk |
| Plug | Connect to Localhost (Remixd) |
| GitHub mark | Clone / push to GitHub |
| Search magnifier | Search across all files in workspace |