Skip to main content

Command line on macOS or Windows

For those who already love the command line and would like to use it without installing Linux or using a Virtual Machine.

Package Installers

Equivalent of apt-get or yum install for mac is brew install with HomeBrew.

Terminal

(Do we really have to say Mac Terminal?)

For Windows, to get a terminal environment to log into other machines, we recommend MobaXterm. See details on Learning Linux.

For Windows, to use command line locally, try git bash.

For iOS devices, try Termius.

Web Development

An easy to use alternative to the LAMP (L=Linux) stack is MAMP (M=macOS). They have a Windows version: MAMP for Windows.

Compiling

You can compile code to create an executable on macOS or Windows from Terminal or Git Bash, but the resulting executable will not work on Linux. To compile a Linux executable while on a mac or Windows machine, use a Virtual Machine with the proper flavor of Linux (Ubuntu, RedHat, etc.) as the target architecture.

Should be somewhere else

I think only IT would do this? Anyway…

To mount NFS volume on a Mac, VPN to NCSU, replace ‘unityid’ with your own, (and change iws-hosting to wherever):

(cd to wherever you want to put 'iws-hosting')
mkdir -p iws-hosting
mount -o sec=krb5 dc2isi00nfs.oit.ncsu.edu:/iws-hosting iws-hosting