To show the command line in AutoCAD, press Ctrl+9 (Windows) or Cmd+9 (Mac), or go to the View tab > Palettes panel > Command Line. This toggles the command line palette—where you type and view commands—on or off. If it’s hidden, this restores it instantly. No special setup is required beyond having AutoCAD installed and running.
What You’ll Need
- AutoCAD installed (Windows or Mac)
- A running AutoCAD drawing session (any drawing file, or a blank template)
- Keyboard access (for the shortcut)
Step-by-Step
- Open AutoCAD and ensure a drawing is loaded (even a blank one like acad.dwt works).
- Press Ctrl+9 on Windows or Cmd+9 on Mac. This is the fastest way to toggle the command line. If the command line is already visible, this hides it; if hidden, this shows it.
- If the shortcut doesn’t work or you prefer the menu method, click the View tab at the top of the interface.
- In the Palettes panel (usually on the right side of the ribbon), click Command Line. The command line palette will slide into view at the bottom of the drawing area.
- Verify the command line is active: you should see a text prompt like Command: followed by a blinking cursor, ready for input. If it appears but is collapsed, click the small arrow icon in its top-right corner to expand it fully.
- Optionally, drag the top border of the command line palette upward to resize it—this gives more space for command history if you scroll up.
Common Mistakes
- Confusing the command line with the status bar: The status bar is at the very bottom (showing Snap, Ortho, etc.), while the command line sits just above it and displays command prompts and history.
- Using the wrong modifier key: On Mac, Ctrl+9 won’t work—use Cmd+9 instead. On Windows, Alt+9 or Shift+9 won’t trigger it either.
- Assuming it’s missing due to a crash: If the command line disappears after a crash, restarting AutoCAD usually restores it, but the Ctrl+9 shortcut still works immediately after relaunch.
- Not checking workspace settings: Some custom or legacy workspaces hide the command line by default. Switching to the AutoCAD Classic workspace (View > Workspace > AutoCAD Classic) often brings it back.
Tips
- Pin it for convenience: Right-click the command line’s title bar and choose Dock to keep it fixed at the bottom, or Auto-hide to have it slide in only when you hover.
- Adjust history size: Type
CmdLineHistoryat the command prompt, then enter a number (e.g.,100) to increase how many past commands are stored—helpful for reviewing earlier entries. - Use F2 for full command history: Pressing F2 opens the Text Screen, which shows the entire command history in a scrollable window. Press F2 again to return to the drawing view.
- Save your workspace: After customizing the layout (e.g., resizing, docking the command line), go to View > Workspace > Save Current As, so your preferred setup persists across sessions.
Troubleshooting
If the command line still won’t appear, follow these checks in order:
- Restart AutoCAD: Close all instances and reopen. Sometimes a temporary glitch prevents UI elements from rendering correctly.
- Check if it’s minimized or off-screen: On multi-monitor setups, the command line may have been dragged to a secondary display. Press Ctrl+9 to toggle it, then use your mouse to drag the window back if it appears partially visible.
- Verify the workspace isn’t locked: In the command line area (if faintly visible), right-click and ensure Lock Position isn’t checked—if it is, uncheck it to allow resizing or moving.
- Check system variables: Type
CmdLineat the prompt (if any), or open the command line via the menu and typeFILEDIA, then press Enter. If it returns1, that’s fine. But ifFILEDIAis set to0, some UI elements may behave unexpectedly—set it back to1by typingFILEDIA> Enter >1> Enter. - Reset preferences (last resort): Hold Ctrl while launching AutoCAD to open the Welcome screen, then click Settings > Reset Settings. This resets all UI layouts—including the command line—but erases custom toolbars, shortcuts, and workspace settings. Back up your profile first if possible.
Frequently Asked Questions
Why does the command line disappear on its own?
It’s often due to the Auto-hide setting being enabled. Right-click the command line’s title bar and disable Auto-hide. It can also happen if you accidentally pressed Ctrl+9 (toggle off) or if a script or lisp routine hid it—check for any custom routines that run on startup.
Can I move the command line to the side instead of the bottom?
Yes. Drag the command line’s title bar to the left or right edge of the drawing area until a dock indicator appears, then release. It will snap to the side. You can also resize it vertically after docking.
Is there a way to show only the current command prompt without the history?
No—AutoCAD always shows the full command history when the command line is open. However, you can press Esc to clear the current prompt and start fresh, or use the History command to manage visibility of the scrollback buffer.
Does the command line work in AutoCAD Web or Mobile?
No. The full command line interface is only available in the desktop versions of AutoCAD (Windows and Mac). AutoCAD Web and the AutoCAD mobile app use simplified touch-friendly menus instead of typed commands.
Why does Ctrl+9 do nothing on my laptop?
Laptops sometimes require you to hold the Fn key. Try Fn+Ctrl+9 (Windows) or Fn+Cmd+9 (Mac). Also, ensure function keys aren’t set to media controls in your system BIOS or keyboard settings—switch them to function mode if needed.
How do I change the font size of the command line text?
Go to Options (type OP or right-click the ribbon > Options), then the Display tab > Layout elements section. Click Colors, select Command line text, and adjust the font and size. Restart AutoCAD for changes to apply.