An example CLT using Typer
brew install Samasaur1/core/typer
mint install Samasaur1/TyperTool
marathon install https://raw.githubusercontent.com/Samasaur1/TyperTool/master/Sources/TyperTool/main.swift /usr/local/bin/typer
curl -fsSL https://raw.githubusercontent.com/Samasaur1/TyperTool/master/install.sh | bash
git clone https://github.com/Samasaur1/TyperTool.git
cd TyperTool
swift build -c release -Xswiftc -static-stdlib
cp .build/release/typer /usr/local/bin/typer
Optional (if you want to remove the source code):
cd ..
rm -rf TyperTool
- Go to the latest release.
- Click on the
.zip
file. (for example,typer-1.0.0.zip
) - Open your
Downloads
folder in the Finder - Open another Finder window.
- In that new window, use the
Go
menu and clickGo to folder...
(or press ⇧⌘G). - Type in
usr/local/bin
and clickGo
. - Drag the
typer
file in yourDownloads
folder into the new window.
All of these methods work. However, only Homebrew, Mint, and Marathon can update TyperTool for you. Furthermore, they all install to the same location, so only use one.
Mint, Marathon, and Homebrew require tools to be installed, while the other options do not.
Mint, Marathon, and building from source require that Swift 4.0 or newer be installed, while the other options do not.
While unlikely, it is possible that Homebrew will take longer to make updates available than Mint or Marathon.
Here is the recommended order. Use the first option that you meet all the requirements for.
- Homebrew
- Mint / Marathon
- Building from source
- Install script / Download and install
Note: Due to this being online, this GIF has probably been slowed down. To view it at full speed, you can download the .mov
version here.