Menu
- Visual Studio Mac Command Line Arguments
- X Code
- Visual Studio For Mac Command Line
- Microsoft Visual Studio For Mac
- Visual Studio For Mac Os X
Hats off to Microsoft for releasing the new Visual Studio for Mac. Unfortunately, this does not, at present and in all cases, enable us to properly develop.NET web applications on a Mac.
Visual C++ includes a C compiler that you can use to create everything from basic console programs to full Windows Desktop applications, mobile apps, and more.
This walkthrough shows how to create a basic, 'Hello, World'-style C program by using a text editor, and then compile it on the command line. If you'd rather work in C++ on the command line, see Walkthrough: Compiling a Native C++ Program on the Command Line. If you'd like to try the Visual Studio IDE instead of using the command line, see Walkthrough: Working with Projects and Solutions (C++) or Using the Visual Studio IDE for C++ Desktop Development.
Prerequisites
To complete this walkthrough, you must have installed either Visual Studio and the optional Visual C++ components, or the Build Tools for Visual Studio.
Visual Studio is a powerful integrated development environment that supports a full-featured editor, resource managers, debuggers, and compilers for many languages and platforms. For information on these features and how to download and install Visual Studio, including the free Visual Studio Community edition, see Install Visual Studio.
The Build Tools for Visual Studio version of Visual Studio installs only the command-line toolset, the compilers, tools, and libraries you need to build C and C++ programs. It's perfect for build labs or classroom exercises and installs relatively quickly. To install only the command-line toolset, download Build Tools for Visual Studio from the Visual Studio downloads page and run the installer.
Before you can build a C or C++ program on the command line, you must verify that the tools are installed, and that you can access them from the command line. Visual C++ has complex requirements for the command-line environment to find the tools, headers, and libraries it uses. You can't use Visual C++ in a plain command prompt window without some preparation. You need a developer command prompt window, which is a regular command prompt window that has all the required environment variables set. Fortunately, Visual C++ installs shortcuts for you to launch developer command prompts that have the environment set up for command line builds. Unfortunately, the names of the developer command prompt shortcuts and where they're located are different in almost every version of Visual C++ and on different versions of Windows. Your first walkthrough task is to find the right shortcut to use.
Note
A developer command prompt shortcut automatically sets the correct paths for the compiler and tools, and for any required headers and libraries. Some of these values are different for each build configuration. You must set these environment values yourself if you don't use one of the shortcuts. For more information, see Set the Path and Environment Variables for Command-Line Builds. Because the build environment is complex, we strongly recommend you use a developer command prompt shortcut instead of building your own.
These instructions vary depending on which version of Visual Studio you are using. Before continuing, make sure that the version selector in the upper left of this page is set correctly.
Open a developer command prompt in Visual Studio 2019
If you have installed Visual Studio 2019 on Windows 10, open the Start menu, and then scroll down and open the Visual Studio 2019 folder (not the Visual Studio 2019 app). Choose Developer Command Prompt for VS 2019 to open the command prompt window.
If you're using a different version of Windows, look in your Start menu or Start page for a Visual Studio tools folder that contains a developer command prompt shortcut. You can also use the Windows search function to search for 'developer command prompt' and choose one that matches your installed version of Visual Studio. Use the shortcut to open the command prompt window.
Open a developer command prompt in Visual Studio 2017
If you have installed Visual Studio 2017 on Windows 10, open the Start menu, and then scroll down and open the Visual Studio 2017 folder (not the Visual Studio 2017 app). Choose Developer Command Prompt for VS 2017 to open the command prompt window.
If you're running a different version of Windows, look in your Start menu or Start page for a Visual Studio tools folder that contains a developer command prompt shortcut. You can also use the Windows search function to search for 'developer command prompt' and choose one that matches your installed version of Visual Studio. Use the shortcut to open the command prompt window.
Open a developer command prompt in Visual Studio 2015
If you have installed Microsoft Visual C++ Build Tools 2015 on Windows 10, open the Start menu, and then scroll down and open the Visual C++ Build Tools folder. Choose Visual C++ 2015 x86 Native Tools Command Prompt to open the command prompt window.
If you're running a different version of Windows, look in your Start menu or Start page for a Visual Studio tools folder that contains a developer command prompt shortcut. You can also use the Windows search function to search for 'developer command prompt' and choose one that matches your installed version of Visual Studio. Use the shortcut to open the command prompt window.
Next, verify that the Visual C++ developer command prompt is set up correctly. In the command prompt window, enter
cl
and verify that the output looks something like this:There may be differences in the current directory or version numbers, depending on the version of Visual C++ and any updates installed. If the above output is similar to what you see, then you're ready to build C or C++ programs at the command line.
Note
If you get an error such as 'cl' is not recognized as an internal or external command, operable program or batch file,' error C1034, or error LNK1104 when you run the cl command, then either you are not using a developer command prompt, or something is wrong with your installation of Visual C++. You must fix this issue before you can continue.
If you can't find the developer command prompt shortcut, or if you get an error message when you enter
cl
, then your Visual C++ installation may have a problem. If you're using Visual Studio 2017 or later, try reinstalling the Desktop development with C++ workload in the Visual Studio installer. For details, see Install C++ support in Visual Studio. Or, reinstall the Build Tools from the Visual Studio downloads page. Don't go on to the next section until this works. For more information about installing and troubleshooting Visual Studio, see Install Visual Studio.Note
Depending on the version of Windows on the computer and the system security configuration, you might have to right-click to open the shortcut menu for the developer command prompt shortcut and then choose Run as Administrator to successfully build and run the program that you create by following this walkthrough.
Create a C source file and compile it on the command line
- In the developer command prompt window, enter
cd c:
to change the current working directory to the root of your C: drive. Next, entermd c:simple
to create a directory, and then entercd c:simple
to change to that directory. This directory will hold your source file and the compiled program. - Enter
notepad simple.c
at the developer command prompt. In the Notepad alert dialog that pops up, choose Yes to create a new simple.c file in your working directory. - In Notepad, enter the following lines of code:
- On the Notepad menu bar, choose File > Save to save simple.c in your working directory.
- Switch back to the developer command prompt window. Enter
dir
at the command prompt to list the contents of the c:simple directory. You should see the source file simple.c in the directory listing, which looks something like:The dates and other details will differ on your computer. If you don't see your source code file, simple.c, make sure you've changed to the c:simple directory you created, and in Notepad, make sure that you saved your source file in this directory. Also make sure that you saved the source code with a .c file name extension, not a .txt extension. - To compile your program, enter
cl simple.c
at the developer command prompt.You can see the executable program name, simple.exe, in the lines of output information that the compiler displays:NoteIf you get an error such as 'cl' is not recognized as an internal or external command, operable program or batch file,' error C1034, or error LNK1104, your developer command prompt is not set up correctly. For information on how to fix this issue, go back to the Open a developer command prompt section.NoteIf you get a different compiler or linker error or warning, review your source code to correct any errors, then save it and run the compiler again. For information about specific errors, use the search box at the top of this page to look for the error number. - To run your program, enter
simple
at the command prompt.The program displays this text and then exits:Congratulations, you've compiled and run a C program by using the command line.
Next steps
This 'Hello, World' example is about as simple as a C program can get. Real world programs have header files and more source files, link in libraries, and do useful work.
Mar 23, 2018 All Preview builds of Visual Studio for Mac can be downloaded and installed through the Alpha or Beta channel. For information on switch to the Alpha or Beta channel, see the Updating Visual Studio for Mac article. Preview releases to Visual Studio for Mac are distributed as an update, rather than through a separate download. Visual Studio for Mac has three updater channels, as. Visual studio for mac preview. Jan 10, 2018 For Mac users, the Visual Studio for Mac Preview release notes contain more details on what’s new for you. We appreciate your early adoption and feedback as it helps us ship the most high-quality tools to everyone in the Visual Studio community. Although Microsoft's new Visual Studio for Mac 7.4 preview is mostly a 'fix stuff' release, it does add support for Android Oreo 8.1 along with some productivity boosts for. The just-released second Visual Studio 2017 15.6 preview continues to ease the previously cumbersome experience of hooking up to Mac machines for iOS development using Xamarin. While Microsoft has shipped the Visual Studio for Mac IDE, it also has steadily been trying to.
You can use the steps in this walkthrough to build your own C code instead of typing the sample code shown. You can also build many C code sample programs that you find elsewhere. To compile a program that has additional source code files, enter them all on the command line, like:
cl file1.c file2.c file3.c
The compiler outputs a program called file1.exe. To change the name to program1.exe, add an /out linker option:
cl file1.c file2.c file3.c /link /out:program1.exe
And to catch more programming mistakes automatically, we recommend you compile by using either the /W3 or /W4 warning level option:
cl /W4 file1.c file2.c file3.c /link /out:program1.exe
The compiler, cl.exe, has many more options you can apply to build, optimize, debug, and analyze your code. For a quick list, enter
cl /?
at the developer command prompt. You can also compile and link separately and apply linker options in more complex build scenarios. For more information on compiler and linker options and usage, see C/C++ Building Reference.You can use NMAKE and makefiles, or MSBuild and project files to configure and build more complex projects on the command line. For more information on using these tools, see NMAKE Reference and MSBuild.
The C and C++ languages are similar, but not the same. The Microsoft C/C++ compiler (MSVC) uses a simple rule to determine which language to use when it compiles your code. By default, the MSVC compiler treats all files that end in .c as C source code, and all files that end in .cpp as C++ source code. To force the compiler to treat all files as C non-dependent of file name extension, use the /Tc compiler option.
MSVC is compatible with the ISO C99 standard, but not strictly compliant. In most cases, portable C code will compile and run as expected. Visual C++ doesn't support most of the changes in ISO C11. Certain library functions and POSIX function names are deprecated by MSVC. The functions are supported, but the preferred names have changed. For more information, see Security Features in the CRT and Compiler Warning (level 3) C4996.
See also
Walkthrough: Creating a Standard C++ Program (C++)
C Language Reference
Projects and build systems
Compatibility
C Language Reference
Projects and build systems
Compatibility
A curated list of shell commands and tools specific to OS X.
“You don’t have to know everything. You simply need to know where to find it when necessary.” (John Brunner)
If you want to contribute, you are highly encouraged to do so. Please read the contribution guidelines.
For more terminal shell goodness, please also see this list's sister list Awesome Command Line Apps.
Caffeinating
When you find something helpful in here, you could buy me a coffee. I spend a lot of time and effort on curating this list. Keeping me properly caffeinated accelerates things. And it would really make my day. Kindness of strangers and all that. If you can't or won't, no hard feelings. It's available completely free for a reason. Still, it would be awesome.
Patreon: https://www.patreon.com/herrbischoff
Contents
![Visual Studio For Mac Command Line Visual Studio For Mac Command Line](/uploads/1/2/5/3/125382289/280561055.gif)
- Appearance
- Applications
- Backup
- Developer
- Files, Disks and Volumes
- Finder
- Hardware
- Input Devices
- Media
- Networking
- Security
- Search
- System
- Terminal
- Glossary
Appearance
Transparency
Transparency in Menu and Windows
Wallpaper
Set Wallpaper
Applications
App Store
List All Apps Downloaded from App Store
Show Debug Menu
Works up to Yosemite.
Apple Remote Desktop
Kickstart Manual Pages
Activate And Deactivate the ARD Agent and Helper
Enable and Disable Remote Desktop Sharing
Remove Apple Remote Desktop Settings
Contacts
Debug Mode
Uninstall Google Update
iTunes
Keyboard Media Keys
This works up to Yosemite. System Integrity Protection was introduced in El Capitan which prevents system Launch Agents from being unloaded.
From El Capitan onwards, you can either disable SIP or resort to a kind of hack, which will make iTunes inaccessible to any user, effectively preventing it from starting itself or its helpers. Be aware that for all intents and purposes this will trash your iTunes installation and may conflict with OS updates down the road.
Show Attachments as Icons
Vacuum Mail Index
The AppleScript code below will quit Mail, vacuum the SQLite index, then re-open Mail. On a large email database that hasn't been optimized for a while, this can provide significant improvements in responsiveness and speed.
Safari
Change Default Fonts
Enable Develop Menu and Web Inspector
Get Current Page Data
Other options:
get source
, get text
.Use Backspace/Delete to Go Back a Page
Sketch
Export Compact SVGs
Skim
Turn Off Auto Reload Dialog
Removes the dialog and defaults to auto reload.
Terminal
Focus Follows Mouse
TextEdit
Use Plain Text Mode as Default
Visual Studio Code
Fix VSCodeVim Key Repeat
Backup
Time Machine
Change Backup Interval
This changes the interval to 30 minutes. The integer value is the time in seconds.
Local Backups
Whether Time Machine performs local backups while the Time Machine backup volume is not available.
Since High Sierra, you cannot disable local snapshots. Time Machine now always creates a local APFS snapshot and uses that snapshot as the data source to create a regular backup, rather than using the live disk as the source, as is the case with HFS formatted disks.
Prevent Time Machine from Prompting to Use New Hard Drives as Backup Volume
Show Time Machine Logs
This little script will output the last 12 hours of Time Machine activity followed by live activity.
Toggle Backup While on Battery
Verify Backup
Beginning in OS X 10.11, Time Machine records checksums of files copied into snapshots. Checksums are not retroactively computed for files that were copied by earlier releases of OS X.
Developer
Vim
Compile Sane Vim
Compiling MacVim via Homebrew with all bells and whistles, including overriding system Vim.
Neovim
Install the modern Vim drop-in alternative via Homebrew.
Xcode
Install Command Line Tools without Xcode
Remove All Unavailable Simulators
Dock
Add a Stack with Recent Applications
Add a Nameless Stack Folder and Small Spacer
Add a Space
Add a Small Space
Auto Rearrange Spaces Based on Most Recent Use
Autohide
Icon Bounce
![Mac Mac](https://developer.xamarin.com/guides/ios/getting_started/installation/windows/connecting-to-mac/Images/image11.png)
Global setting whether Dock icons should bounce when the respective application demands your attention.
We do our best to estimate the most accurate delivery time for your convenience. The dates provided are estimates and subject to change and do not apply to PO Boxes, APO/FPO/DPO or U.S. Best brush for mac studio fix powder plus foundation. For pre-orders, please refer to the estimated ship timing on the product page.
Lock the Dock Size
Reset Dock
Resize
Fully resize your Dock's body. To resize change the
0
value as an integer.Scroll Gestures
Use your touchpad or mouse scroll wheel to interact with Dock items. Allows you to use an upward scrolling gesture to open stacks. Using the same gesture on applications that are running invokes Exposé/Mission Control.
Set Auto Show/Hide Delay
The float number defines the show/hide delay in ms.
Show Hidden App Icons
Show Only Active Applications
Single App Mode
When clicking an application icon in the Dock, the respective windows will cometo the front, but all other application windows will be hidden.
Documents
Convert File to HTML
Supported formats are plain text, rich text (rtf) and Microsoft Word (doc/docx).
Files, Disks and Volumes
Create an Empty File
Creates an empty 10 gigabyte test file.
Disable Sudden Motion Sensor
Leaving this turned on is useless when you're using SSDs.
Eject All Mountable Volumes
The only reliable way to do this is by sending an AppleScript command to Finder.
Repair File Permissions
You don't have to use the Disk Utility GUI for this.
Beginning with OS X El Capitan, system file permissions are automatically protected. It's no longer necessary to verify or repair permissions with Disk Utility. (Source)
Set Boot Volume
Show All Attached Disks and Partitions
View File System Usage
A continuous stream of file system access info.
APFS
Available since High Sierra. There is no central utility and usage is inconsistent as most functionality is rolled into
tmutil
.Convert Volume from HFS+ to APFS
Create New APFS Filesystem
Create Snapshot
Delete Snapshot
List Snapshots
Mount Snapshot
Snapshots are read-only.
Disk Images
Create Disk Image From Folder Contents
If you'd like to encrypt the disk image:
By default, you'll be prompted for a password. You can automate that by piping in a password:
Burn Disk Images to DVD
This command applies to .iso, .img and .dmg images.
Disable Disk Image Verification
Make Volume OS X Bootable
Mount Disk Image
Unmount Disk Image
Write Disk Image to Volume
Like the Disk Utility 'Restore' function.
Finder
Desktop
Show External Media
External HDs, thumb drives, etc.
Show Internal Media
Built-in HDs or SSDs.
Show Removable Media
CDs, DVDs, iPods, etc.
Show Network Volumes
AFP, SMB, NFS, WebDAV, etc.
Files and Folders
Clear All ACLs
Hide Folder in Finder
Show All File Extensions
Show Hidden Files
Remove Protected Flag
Show Full Path in Finder Title
Unhide User Library Folder
Increase Number of Recent Places
Layout
Show 'Quit Finder' Menu Item
Makes possible to see Finder menu item 'Quit Finder' with default shortcut Cmd + Q
Smooth Scrolling
Useful if you’re on an older Mac that messes up the animation.
Rubberband Scrolling
Expand Save Panel by Default
Desktop Icon Visibility
Path Bar
Visual Studio Mac Command Line Arguments
Scrollbar Visibility
Possible values:
WhenScrolling
, Automatic
and Always
.Status Bar
Save to Disk by Default
Sets default save target to be a local disk, not iCloud.
Set Current Folder as Default Search Scope
Set Default Finder Location to Home Folder
Set Sidebar Icon Size
Sets size to 'medium'.
Metadata Files
Disable Creation of Metadata Files on Network Volumes
Avoids creation of
.DS_Store
and AppleDouble files.Disable Creation of Metadata Files on USB Volumes
Avoids creation of
.DS_Store
and AppleDouble files.Opening Things
Change Working Directory to Finder Path
If multiple windows are open, it chooses the top-most one.
Open URL
Open File
Open Applications
You can open applications using
-a
.Open Folder
Open Current Folder
Fonts
Clear Font Cache for Current User
To clear font caches for all users, put
sudo
in front of this command.Get SF Mono Fonts
You need to download and install Xcode 8 beta for this to work. Afterwards they should be available in all applications.
From Sierra onward, they are included in Terminal.app.
Functions
Please see this file.
Hardware
Bluetooth
Harddisks
Force Enable Trim
Enable Trim for non-Apple SSDs. This command is available since Yosemite.
Hardware Information
List All Hardware Ports
Remaining Battery Percentage
Remaining Battery Time
Show Connected Device's UDID
Show Current Screen Resolution
Show CPU Brand String
Infrared Receiver
Power Management
Prevent System Sleep
Prevent sleep for 1 hour:
Show All Power Management Settings
Put Display to Sleep after 15 Minutes of Inactivity
Put Computer to Sleep after 30 Minutes of Inactivity
Check System Sleep Idle Time
Set System Sleep Idle Time to 60 Minutes
Turn Off System Sleep Completely
Automatic Restart on System Freeze
Chime When Charging
Play iOS charging sound when MagSafe is connected.
Input Devices
Keyboard
Auto-Correct
Full Keyboard Access
Enable Tab in modal dialogs.
Key Repeat
Disable the default 'press and hold' behavior.
Key Repeat Rate
Sets a very fast repeat rate, adjust to taste.
Launchpad
Reset Launchpad Layout
You need to restart
Dock
because Launchpad is tied to it.Media
Audio
Convert Audio File to iPhone Ringtone
Create Audiobook From Text
Uses 'Alex' voice, a plain UTF-8 encoded text file for input and AAC output.
Disable Sound Effects on Boot
Mute Audio Output
Set Audio Volume
Play Audio File
You can play all audio formats that are natively supported by QuickTime.
Speak Text with System Default Voice
Video
Auto-Play Videos in QuickTime Player
Networking
Bonjour
Bonjour Service
DHCP
Renew DHCP Lease
Show DHCP Info
DNS
Clear DNS Cache
Hostname
Set Computer Name/Host Name
Network Preferences
Network Locations
Switch between network locations created in the Network preference pane.
Set Static IP Address
Networking Tools
Ping a Host to See Whether It’s Available
Troubleshoot Routing Problems
SSH
Permanently Add Private Key Passphrase to SSH Agent
Prior to macOS Sierra, ssh would present a dialog asking for your passphrase and would offer the option to store it into the keychain. This UI was deprecated some time ago and has been removed.
Instead, a new UseKeychain option was introduced in macOS Sierra allowing users to specify whether they would like for the passphrase to be stored in the keychain. This option was enabled by default on macOS Sierra, which caused all passphrases to be stored in the keychain.
This was not the intended default behavior, so this has been changed in macOS 10.12.2. (Source)
Then add to
~/.ssh/config
:Remote Login
TCP/IP
Show Application Using a Certain Port
This outputs all applications currently using port 80.
Show External IP Address
Works if your ISP doesn't replace DNS requests (which it shouldn't).
Alternative that works on all networks.
Show Network Interface Information
Undocumented flag of the
scutil
command.TFTP
Start Native TFTP Daemon
Files will be served from
/private/tftpboot
.Wi-Fi
Join a Wi-Fi Network
Scan Available Access Points
Create a symbolic link to the airport command for easy access:
Run a wireless scan:
Show Current SSID
Show Local IP Address
Show Wi-Fi Connection History
Show Wi-Fi Network Passwords
Exchange SSID with the SSID of the access point you wish to query the password from.
Turn on Wi-Fi Adapter
Package Managers
X Code
- Fink - The full world of Unix Open Source software for Darwin. A little outdated.
- Homebrew - The missing package manager for OS X. The most popular choice.
- MacPorts - Compile, install and upgrade either command-line, X11 or Aqua based open-source software. Very clean, it's what I use.
Homebrew
Full Uninstall
Printing
Clear Print Queue
Expand Print Panel by Default
Quit Printer App After Print Jobs Complete
Security
Application Firewall
Firewall Service
Add Application to Firewall
Gatekeeper
Add Gatekeeper Exception
Remove Gatekeeper Exception
Manage Gatekeeper
Passwords
Generate Secure Password and Copy to Clipboard
Physical Access
Launch Screen Saver
Lock Screen
Screensaver Immediate Lock
Screensaver Password
Wiping Data
Note: The
srm
command appears to have been removed on MacOS after 10.9. There is a note on an Apple support page hinting as to why:With an SSD drive, Secure Erase and Erasing Free Space are not available in Disk Utility. These options are not needed for an SSD drive because a standard erase makes it difficult to recover data from an SSD.
Securely Remove File
Securely Remove Folder
Securely Remove Path (Force)
Search
Find
Recursively Delete .DS_Store Files
Locate
Build Locate Database
Search via Locate
The
-i
modifier makes the search case insensitive.System
AirDrop
AppleScript
Execute AppleScript
Basics
Compare Two Folders
Copy Large File with Progress
Make sure you have
pv
installed and replace /dev/rdisk2
with the appropriate write device or file.Restore Sane Shell
In case your shell session went insane (some script or application turned it into a garbled mess).
Restart
Shutdown
Show Build Number of OS
Uptime
How long since your last restart.
Clipboard
Copy data to Clipboard
Convert Clipboard to Plain Text
Convert Tabs to Spaces for Clipboard Content
Copy data from Clipboard
Sort and Strip Duplicate Lines from Clipboard Content
FileVault
Automatically Unlock FileVault on Restart
If FileVault is enabled on the current volume, it restarts the system, bypassing the initial unlock. The command may not work on all systems.
FileVault Service
Information/Reports
Generate Advanced System and Performance Report
Install OS
Create Bootable Installer
- For confirmation before erasing the drive, remove
–-nointeraction
from the command. - The optional
–-downloadassets
flag is new in Mojave. It downloads assets which may be required during installation, like updates. - The
–-applicationpath
flag is deprecated since Mojave and will throw an error if used.
Kernel Extensions
Display Status of Loaded Kernel Extensions
Load Kernel Extension
Unload Kernel Extensions
LaunchAgents
Please see this file.
LaunchServices
Rebuild LaunchServices Database
To be independent of OS X version, this relies on
locate
to find lsregister
. If you do not have your locate
database built yet, do it.Login Window
Set Login Window Text
Memory Management
Purge memory cache
Show Memory Statistics
Notification Center
Notification Center Service
QuickLook
Preview via QuickLook
Remote Apple Events
Root User
Safe Mode Boot
Save Dialogs
Significantly improve the now rather slow animation in save dialogs.
Screenshots
Take Delayed Screenshot
Takes a screenshot as JPEG after 3 seconds and displays in Preview.
Save Screenshots to Given Location
Sets location to
~/Desktop
.Save Screenshots in Given Format
Visual studio 2015 for students. Sets format to
png
. Other options are bmp
, gif
, jpg
, jpeg
, pdf
, tiff
.Disable Shadow in Screenshots
Set Default Screenshot Name
Date and time remain unchanged.
Software Installation
Install PKG
Software Update
Install All Available Software Updates
Set Software Update Check Interval
Set to check daily instead of weekly.
Show Available Software Updates
Set Software Update Server
This should only be done for testing purposes or unmanaged clients. To use network-wide, either correctly set up DNS along with Apple SUS service and bind your clients via OpenDirectory. Alternatively, use Reposado together with correct network DNS settings to make resolution transparent. Margarita looks nice to have as well.
Software Version
Show System Software Version
Spotlight
Spotlight Indexing
Erase Spotlight Index and Rebuild
Search via Spotlight
Show Spotlight Indexed Metadata
System Integrity Protection
Disable System Integrity Protection
Visual Studio For Mac Command Line
Reboot while holding Cmd + R, open the Terminal application and enter:
Enable System Integrity Protection
Reboot while holding Cmd + R, open the Terminal application and enter:
Date and Time
List Available Timezones
Set Timezone
Set Clock Using Network Time
Terminal
Ring Terminal Bell
Rings the terminal bell (if enabled) and puts a badge on it.
Alternative Terminals
- Alacritty - Cross-platform, GPU-accelerated terminal emulator.
- iTerm2 - A better Terminal.app.
- kitty - Modern, GPU-accelerated terminal emulator.
Shells
Bash
Install the latest version and set as current user's default shell:
- Homepage - The default shell for OS X and most other Unix-based operating systems.
- Bash-it - Community Bash framework, like Oh My Zsh for Bash.
fish
Install the latest version and set as current user's default shell:
- Homepage - A smart and user-friendly command lineshell for OS X, Linux, and the rest of the family.
- The Fishshell Framework - Provides core infrastructure to allow you to install packages which extend or modify the look of your shell.
- Installation & Configuration Tutorial - How to Setup Fish Shell with Fisherman, Powerline Fonts, iTerm2 and Budspencer Theme on OS X.
Microsoft Visual Studio For Mac
Zsh
Install the latest version and set as current user's default shell:
- Homepage - Zsh is a shell designed for interactive use, although it is also a powerful scripting language.
- Oh My Zsh - An open source, community-driven framework for managing your Zsh configuration.
- Prezto - A speedy Zsh framework. Enriches the command line interface environment with sane defaults, aliases, functions, auto completion, and prompt themes.
- zgen - Another open source framework for managing your zsh configuration. Zgen will load oh-my-zsh compatible plugins and themes and has the advantage of both being faster and automatically cloning any plugins used in your configuration for you.
Visual Studio For Mac Os X
Terminal Fonts
- Anonymous Pro - A family of four fixed-width fonts designed with coding in mind.
- Codeface - A gallery and repository of monospaced fonts for developers.
- DejaVu Sans Mono - A font family based on the Vera Fonts.
- Hack - Hack is hand groomed and optically balanced to be your go-to code face.
- Inconsolata - A monospace font, designed for code listings and the like.
- Input - A flexible system of fonts designed specifically for code.
- Meslo - Customized version of Apple's Menlo font.
- Operator Mono - A surprisingly usable alternative take on a monospace font (commercial).
- Powerline Fonts - Repo of patched fonts for the Powerline plugin.
- Source Code Pro - A monospaced font family for user interfaces and coding environments.
Glossary
Mac OS X, OS X, and macOS Version Information
Version | Codename | Release Date | Most Recent Version |
---|---|---|---|
Rhapsody Developer Release | Grail1Z4 / Titan1U | August 31, 1997 | DR2 (May 14, 1998) |
Mac OS X Server 1.0 | Hera | March 16, 1999 | 1.2v3 (October 27, 2000) |
Mac OS X Developer Preview | n/a | March 16, 1999 | DP4 (April 5, 2000) |
Mac OS X Public Beta | Kodiak | September 13, 2000 | n/a |
Mac OS X 10.0 | Cheetah | March 24, 2001 | 10.0.4 (June 22, 2001) |
Mac OS X 10.1 | Puma | September 25, 2001 | 10.1.5 (June 6, 2002) |
Mac OS X 10.2 | Jaguar | August 24, 2002 | 10.2.8 (October 3, 2003) |
Mac OS X 10.3 | Panther | October 24, 2003 | 10.3.9 (April 15, 2005) |
Mac OS X 10.4 | Tiger | April 29, 2005 | 10.4.11 (November 14, 2007) |
Mac OS X 10.5 | Leopard | October 26, 2007 | 10.5.8 (August 5, 2009) |
Mac OS X 10.6 | Snow Leopard | August 28, 2009 | 10.6.8 v1.1 (July 25, 2011) |
Mac OS X 10.7 | Lion | July 20, 2011 | 10.7.5 (September 19, 2012) |
OS X 10.8 | Mountain Lion | July 25, 2012 | 10.8.5 (12F45) (October 3, 2013) |
OS X 10.9 | Mavericks | October 22, 2013 | 10.9.5 (13F1112) (September 18, 2014) |
OS X 10.10 | Yosemite | October 16, 2014 | 10.10.5 (14F27) (August 13, 2015) |
OS X 10.11 | El Capitan | September 30, 2015 | 10.11.6 (15G31) (July 18, 2016) |
macOS 10.12 | Sierra | September 20, 2016 | 10.12.6 (16G29) (July 19, 2017) |
macOS 10.13 | High Sierra | September 25, 2017 | 10.13.6 (17G65) (July 9, 2018) |
macOS 10.14 | Mojave | September 24, 2018 | 10.14 (18A391) (September 24, 2018) |
macOS 10.15 | Catalina | tba | tba |
License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.