Practical macOS tips and tutorials for both developers and everyday users. Learn how to solve common issues, improve productivity, and make the most of your Mac.
If you’re a new Mac user (like me!), knowing a few common shortcuts can save you tons of time. Here’s a simple cheatsheet of macOS shortcuts โ including some of the ones Iโve searched for myself. You might want to bookmark this โ I’ll keep adding more as I come across new and useful shortcuts.
๐ Basic Editing MacOS Shortcuts
๐จโ๐ป Developer – Focused macOS Shortcuts
๐ป Productivity MacOS Shortcuts
๐ค Other Useful Shortcuts
Since Iโm still fairly new to macOS after switching from Ubuntu Linux, Iโve been collecting these shortcuts to help myself โ and hopefully to help you too.
You might also find other posts where I share not just shortcuts, but tips for developers and guides on installing tools or setting things up on macOS. These arenโt just for Mac beginners โ theyโre for anyone adjusting to new workflows. Feel free to check them out here.
If you’re wondering how to type the copyright symbol on a Mac, the solution is quick and easy. Mac keyboards come with built-in shortcuts for special characters, including the copyright symbol.
Why use the copyright symbol?
The copyright symbol ยฉ shows that your work is protected by copyright law. You can put it in blog posts, documents, or any other type of creative work. It shows people that your work belongs to you.
Some people also add the year and their name next to it, for example:
ยฉ 2025 John Doe
This makes it even clearer who owns the content and when it was created. However, the symbol by itself may not be enough to fully protect your rights in all situations โ itโs best to include clear terms and conditions for your website or publications, and seek professional legal advice if you need comprehensive protection.
Typing the Copyright Symbol on macOS
To type the ยฉ symbol on a Mac, simply press:
Option (โฅ) + G
Thatโs all you need to do! This shortcut works across most apps on macOS โ whether you’re writing in Pages, Word, Google Docs, or even in your browser.
If you are new to Mac and do not know the Option key: it is next to the Command (โ) key. On most keyboards, there is one Option key on the left side and one on the right side.
If the shortcut mentioned above doesn’t work, you can use the Character Viewer:
Press Control + Command + Space
Search for “copyright”
Double-click the symbol to insert it.
Related Tips: Typing Other Special Symbols on Mac
Mac has shortcut for many symbols. There are some you might also like:
Trademark (โข) – Press Option (โฅ) + 2
Registered Trademark (ยฎ) โ Press Option (โฅ) + R
Degree (ยฐ) โ Press Shift + Option (โฅ) + 8
Ellipsis (โฆ) โ Press Option (โฅ) + ;
Section (ยง) โ Press Option (โฅ) + 6
These shortcuts work almost everywhere on macOS. If you forget them, you can either open the Character Viewer and search for the symbol you want or bookmark this post.
Extra tips for Mac beginners
When I first switched from Ubuntu Linux to macOS, I felt a bit lost. Many things were different. On Linux, I used different key combinations for special characters, and sometimes I had to copy and paste them. On Mac, once I learned the shortcuts, my work became faster. You might be in the same situation โ maybe not from Ubuntu, but perhaps you are coming from Windows? Or maybe you are just a newcomer to the computer world.
Regardless, these simple, everydayshortcuts might also help you:
Command + C to copy
Command + V to paste
Command + Z to undo
Command + Shift + 4 to take a screenshot of a selected area
I’m a new Mac user and have been having questions about shortcuts, processes, and other little details in macOS since I switched from Ubuntu Linux. I started adding these posts to help me remember โ and hopefully, they’ll help you too.
Since moving to macOS, Iโve been collecting tips and shortcuts to make my daily work easier. I share them here so theyโre easy to find โ and maybe theyโll help you too.
If you’re new to Mac, like I am, you might be wondering: How do I close full screen on Mac? Donโt worry, itโs very simple once you know how!
Here are three quick and easy methods you can use to exit full-screen mode on your Mac:
A. Use the Green Button
Move your mouse to the top of the screen until you see the menu bar and the three window buttons (red, yellow, green) appear in the top-left corner of the window.
Click the green button to exit full screen and return to normal window size. You can also click it again if you want to go back into full screen.
The green icon is used to expand or minimize windows on a Mac.
Tip: In macOS, the green button is not just for full screen โ itโs also used to resize or tile windows. If you hold down the Option key while clicking, you can maximize the window without entering full screen.
B. Press and Hold Esc
In some apps, you can simply press and hold the Esc key to exit full screen. This works in many media apps, like QuickTime or YouTube, when viewed in Safari.
While this doesnโt work in every app, itโs worth trying. Often, when you move your mouse to the top of the screen, you might see a small message saying: โTo exit full screen, press and hold Esc.โ
Hold Esc for about 3 seconds, and you should see the app switch back to windowed mode.
C. Keyboard Shortcut
For a faster method, press Control + Command + F. This shortcut works in most Mac apps and will toggle between full screen and windowed mode instantly.
Tip: If youโre using a MacBook with the Touch Bar, you might see a dedicated โExit Full Screenโ button appear when youโre in full screen. Tapping it is the same as using the keyboard shortcut.
When Full Screen Wonโt Exit
There could be a case that your app may not respond to the methods mentioned above. In this case, try pressing Command + Tab to switch to another app, then close the full-screen one from the Dock.
You can also right-click the app icon in the Dock and select Options > Exit Full Screen if available.
If nothing works, press Command + Option + Esc to force quit the app, then reopen it in normal mode. This is rare, but itโs good to know if a program freezes while in full screen.
If you’re working on a Node.js project and run into errors like ECONNREFUSED ::1:5432, chances are PostgreSQL isn’t running โ or it isn’t even installed. Here’s a quick guide to install postgres on macOS using Homebrew, the most reliable and straightforward method.
Before installing PostgreSQL, make sure you already have Homebrew installed on your Mac. Homebrew is the package manager weโll be using to install and manage PostgreSQL.
psql is the interactive command-line tool when working with Postgres
Expected output:
psql (PostgreSQL) 17.5 (Homebrew)
Bash
In case you are getting a command not found: psql error you have to explicitly link it. For my example, in which i installed version 17, I just had to type
brewlinkpostgresql@17--force
Bash
By typing psql --version you should now see the postgreSQL you just installed.
Step 5: Connect to PostgreSQL
You can now open a PostgreSQL shell:
psqlpostgres
Bash
Or create your own database:
createdbmydbpsqlmydb
Bash
Step 6 (Optional): Choosing a GUI
If you prefer a graphical interface over the terminal, consider installing
So, youโre new to macOS and ready to set up Git? Great choice! Git is one of the essential tools for developers, and installing it should be one of the first steps in your journey. Donโt worryโitโs easier than you think. Letโs get started!
If youโve never worked with Git before, think of it as a timeline for your files. It’s a tool used to keep track of every change you make, so you can jump backward in time if you break something or experiment freely without losing your original work.
Itโs not just for programmers โ writers, researchers, and designers also use Git to track versions of their work. Installing Git on your Mac now will save you a lot of headaches later.
Although thereโs a small learning curve at first, youโll quickly find that once youโve used Git for a while, you canโt imagine working without it โ youโll wonder how you ever managed before.
Check if Git is already installed
If youโre just setting up your Mac, itโs unlikely that Git is already installed. macOS doesnโt come with a fully functional Git by default. Instead, it includes a placeholder located at /usr/bin/git. This placeholder acts as a link to the actual Git version, which gets installed with Xcode or the Command Line Tools.
To check, open your terminal and type:
git--version
If you see something like:
Nodevelopertoolswerefound,requestinginstall
it means that macOS detected that you tried to use a command-line developer tool – git in this case – but the Xcode Command Line Tools are not installed on your system.
From here, you have two main choices for installing Git on your Mac โ Appleโs Xcode Command Line Tools or the Homebrew package manager. Both will get the job done, but they have different strengths.
Xcode Command Line Tools is quick and easy if you just want to start using Git right away, but the version it installs is maintained by Apple and might not always be the latest.
Homebrew, on the other hand, gives you more control and makes it simple to update Git whenever a new release comes out. If you plan to keep working with Git regularly, I suggest going with Homebrew for its flexibility and ease of maintenance.
Install Git on Mac using Xcode
Xcode is one of the quickest ways to install Git on your system. Since Xcode Command Line tools include Git in the package, to use Git all you need to do is type the following command in your terminal
xcode-select--install
When the pop-up appears, click Install. Make sure youโre connected to the internet.
Once the installation finishes, confirm it by typing:
git--version
You should now see something like:
gitversion2.39.5 (Apple Git-154)
Install Git on Mac using Homebrew
Another popular way to install Git on macOS, apart from using Xcode Command Line Tools, is by using Homebrew.
This method is often preferred by developers who want more control over the Git version or are already using Homebrew for managing other software.
To install Git using Homebrew, run the following command
brewinstallgit
Running this command will display some logs related to the Git installation, such as:
....==> Installinggit==> Pouringgit--2.47.1.arm64_sequoia.bottle.tar.gz==> CaveatsTheTcl/TkGUIs (e.g. gitk,git-gui) are now in the `git-gui`formula.Subversioninteroperability (git-svn) is now in the `git-svn`formula.zshcompletionsandfunctionshavebeeninstalledto:/opt/homebrew/share/zsh/site-functions==> Summary๐บ/opt/homebrew/Cellar/git/2.47.1:1,685files,54.4MB==> Running`brew cleanup git`.......
Once the installation process is complete, you can verify that Git was installed successfully by typing:
git--version
You should see
gitversion2.39.5 (Apple Git-154)
With Git successfully installed, you’re now ready to dive into your development journey and take full control of your projects!
๐ Extra Tip: When installing via Homebrew, you can easily update Git later by running:
brewupdate && brewupgradegit
Bash
This ensures youโre always on the latest stable release without waiting for Apple updates. It also makes switching between different Git versions simple, which is useful for testing or specific project needs.
Verify Git configuration
After installing Git, itโs a good idea to configure your identity so your commits are linked to the right name and email address. Run the following commands in your terminal:
This will show your username, email, and other configuration details. These can be changed at any time if you switch accounts or need to adjust your settings.
Next Steps with Git
Installing Git is just the beginning. The next step is learning a few key commands that will make you productive right away. Start with:
git init โ Create a new repository in the current folder.
git add <filename> โ Stage files you want to include in your next commit.
git commit -m "message" โ Save your staged changes with a short description.
git status โ Check whatโs been modified, staged, or committed.
git log โ View a history of all commits in the repository.
Once youโre comfortable with these, try creating a branch with git branch <branchname> and switching to it using git checkout <branchname>. Branching is one of Gitโs most powerful features, letting you work on new ideas without touching your main project until youโre ready.
As you explore these commands, remember that consistent practice is the fastest way to build confidence and skill with Git. And if you want to take things a step further, tools like Husky pre-commit hooks can help automate checks and streamline your workflow as you grow.
If you are making your first steps on macOS, you may have never heard of Homebrew before. Homebrew is a powerful package manager, similar to npm if youโve worked with it before. It allows you to easily install, update, and remove software packages directly from your terminal, making it an incredibly handy tool for developers. In this post, you’ll find a step-by-step guide to install Homebrew on MacOS.
Why is it essential to install Homebrew?
Homebrew is widely regarded as the most popular package manager for macOS. Itโs the go-to choice for developers and power users because of its simplicity and active community support.
Homebrew lets you easily get the tools and libraries you need for development or daily tasks, from developer tools like Git and Node.js to simple everyday utilities. It saves time by skipping the trouble of manual downloads and setup. Itโs simple, fast, and perfect for customizing your Mac.
Oh, you say! What is this command? Let me explain. This command asks bash (which is a command-line shell language commonly used in macOS and Linux) to execute a script.
Hereโs how it works:
/bin/bash: specifies the bash shell, ensuring the command is executed using bash, even if your default shell is something else (like zsh).
-c: This flag tells bash to execute the command provided in quotes.
$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh): This part fetches the Homebrew installation script directly from GitHub using curl (a tool for transferring data).
In simple terms, this command downloads the Homebrew installer script from GitHub and immediately runs it using bash to set up Homebrew on your system.
After typing your password, youโll see a message prompting you to press ENTER to proceed with the installation. Simply press ENTER, and the installation will continue.
Wait for the installation process to completeโit may take a few minutes. Once itโs done, youโll see the message “Installation successful!”. However, to ensure everything was installed correctly, letโs verify it by typing the following command in the terminal:
brewhelp
If it was successfully installed, you should see the following response.
If youโve already followed all the steps described to install Homebrew but see a “command not found” error when running, e.g., brew help it typically means that the Homebrew binary is not properly added to your systemโs PATH.
To resolve the issue, revisit the logs from the Homebrew installation script. At the end of the script, youโll typically find specific instructions for finalizing the installation.
copy the last part of the Homebrew installation instructions โstarting from the command that begins with echo โ and paste it into your terminal. This command typically adds Homebrew to your system’s PATH.
By now, you should have Homebrew installed on your system successfully. Congratulations! This is just the first small step on your exciting journey to mastering powerful tools and workflows as you grow your skills.If you’re exploring ways to automate parts of your development workflow next, you might find Git tools like Husky pre-commit hooks especially helpful.
Installing Node.js and npm (Node Package Manager) on your Mac is super simple. With these tools, you can manage Javascript packages, create powerful web applications, and dive deep into modern web development. Start by following these steps:
Step 1: Verify that npm is installed
Open your terminal and type
node-vnpm-v
Bash
If you see version numbers (e.g., v16.13.0 for Node.js and 8.1.0 for npm), theyโre already installed.
If you see errors or no versions, continue to the next step.
Step 2: Install Node.js (includes npm)
The easiest way to install Node.js and npm is by usingย Homebrew. If you donโt have Homebrew installed,ย install it first.
Then run:
brewinstallnode
Bash
Step 3: Verify the Installation
After the installation completes, type the following command to check the versions and ensure everything is installed properly:
node-vnpm-v
Bash
You should see version numbers for both. ๐
Step 4: Update npm (Optional)
npm updates frequently, so ensure you have the latest version:
npminstall-gnpm@latest
Bash
๐ Youโre all set! Now, you can use Node.js and npm to manage and build amazing projects. Happy coding! ๐
Why Use Node.js and npm?
Fast & Scalable: Node.js enables fast, scalable network applications with non-blocking I/O.
Massive Ecosystem: npm offers access to over 1 million open-source packages.
Cross-Platform: Develop once and deploy anywhere.
These tools are essential for any web developer aiming to build modern, high-performance applications.