Skip to main content

Posts

Showing posts from October, 2018

How to Tweet from the Command Line on Mac

To post to twitter from the command line as of Oct 8, 2018. (Twitter is always changing though.) Homebrew  is a package manager for Mac. You can use it to download and install things. Oysttyer  is a CLI (command line interface) for Twitter. 1.) Install Homebrew, a package manager for Mac. Copy and paste the following to install brew. More information about brew here  https://brew.sh/ mkdir $HOME/.brew && curl -fsSL https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C $HOME/.brew mkdir -p /tmp/.$(whoami)-brew-locks mkdir -p $HOME/.brew/var/homebrew ln -s /tmp/.$(whoami)-brew-locks $HOME/.brew/var/homebrew/locks export PATH="$HOME/.brew/bin:$PATH" brew update && brew upgrade 1b.) Afterwards make sure you add the following lines to your .zshrc. mkdir -p /tmp/.$(whoami)-brew-locks export PATH="$HOME/.brew/bin:$PATH" The  ~/.zshrc  doesn’t exist by default in Mac OS X so you may need to create it. The ~/ translates to you