Remix IDE Cheatsheet

File Explorer

Use this Remix IDE reference while you build software engineering projects, review code, or refresh the syntax you reach for most.

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

ActionHow
Create workspaceWorkspaces dropdown → Create
Rename workspaceWorkspaces dropdown → Rename
Delete workspaceWorkspaces dropdown → Delete
Clone from GitHubWorkspaces dropdown → Clone Git Repository → paste URL
Fork a templateCreate → 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:

ActionContext menu item
New fileNew File (or + icon next to folder)
New folderNew Folder
RenameRename or click the pencil icon
DeleteDelete
DownloadDownload
Copy pathCopy path
Run as scriptRun (.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).

  1. Clone a repository (also reachable via Workspaces → Clone Git Repository) or init the current workspace.
  2. Log in with GitHub from the Git panel, or set a Personal Access Token under Settings → GitHub credentials, to enable push access.
  3. 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

IconAction
+ (file)New file in current folder
+ (folder)New folder
Upload arrowUpload file(s) from disk
PlugConnect to Localhost (Remixd)
GitHub markClone / push to GitHub
Search magnifierSearch across all files in workspace