3.2 KiB
3.2 KiB
Open a command Line
The following are the steps open a command line on Linux, Windows or Mac.
These steps were created using ChatGPT, so there might be some errors.
If you run into errors, or if there's any missteps please log an issue here:
https://hub.openingdesign.com/OpeningDesign/Bonsai_Tutorials/issues
or create a pull request with the change. Thank you.
Linux
Opening a Command Prompt (Terminal) on Linux
1. Open the Terminal (Command Prompt Equivalent)
Method 1: Using a Keyboard Shortcut (Fastest)
- Ubuntu, Debian, Fedora, CentOS, Arch, etc.:
Press Ctrl + Alt + T
Method 2: Using the Application Menu
- Click on Activities (top-left corner) or open the Applications Menu.
- Search for Terminal.
- Click to open it.
Method 3: Right-Click in a Folder
- Open File Manager.
- Navigate to the desired folder.
- Right-click inside the folder.
- Select "Open Terminal Here".
Windows
Opening Command Prompt or Git Bash on Windows
1. Open Command Prompt (cmd.exe)
Method 1: Using the Start Menu
- Press Windows Key (⊞) and type cmd or Command Prompt.
- Click on Command Prompt from the search results.
Method 2: Using Run Dialog
- Press Win + R to open the Run dialog.
- Type
cmdand press Enter.
Method 3: Open Command Prompt in a Specific Folder
- Navigate to the desired folder in File Explorer.
- In the address bar, type
cmdand press Enter.- This will open the command prompt in that folder’s location.
2. Open Git Bash
Method 1: Using the Start Menu
- Press Windows Key (⊞) and type Git Bash.
- Click Git Bash from the search results.
Method 2: Using Right-Click in a Folder
- Navigate to a folder in File Explorer.
- Right-click inside the folder.
- Select Git Bash Here to open Git Bash in that directory.
Now you can run commands in either Command Prompt or Git Bash! 🚀
Mac
You can open the Terminal on a Mac using several methods:
1. Open Terminal Using Spotlight (Fastest)
- Press Cmd (⌘) + Spacebar to open Spotlight Search.
- Type Terminal and press Enter.
2. Open Terminal from Finder
- Open Finder.
- Navigate to Applications → Utilities.
- Double-click Terminal.
3. Open Terminal Using Launchpad
- Click Launchpad (rocket icon in the Dock).
- Type Terminal in the search bar.
- Click on Terminal to open it.
4. Open Terminal from Dock (if frequently used)
- Open Terminal using any method above.
- Right-click the Terminal icon in the Dock.
- Select Options → Keep in Dock for easy access.
5. Open Terminal in a Specific Folder
- Open Finder and navigate to your desired folder.
- Right-click (or Control + Click) inside the folder.
- Select "New Terminal at Folder".
Now you’re ready to use the command line on your Mac! 🚀