Installation
Using Homebrew
To install whoiam using Homebrew, run the following commands:
brew tap cliwright/cliwright && \
brew install whoiam
Using Aqua
whoiam is available in the aqua registry. If you use aqua as your CLI version manager:
aqua g -i cliwright/whoiam
Download Binary
You can download the pre-compiled binaries from the releases page.
To download the pre-compiled binaries using curl, replace VERSION with the release you want (e.g. v0.6.2).
For the Linux binary:
curl -L -o whoiam_linux_x86_64.tar.gz https://github.com/cliwright/whoiam/releases/download/VERSION/whoiam_Linux_x86_64.tar.gz && \
tar -xzf whoiam_linux_x86_64.tar.gz && \
chmod +x whoiam && \
sudo mv whoiam /usr/local/bin/
For the Windows binary:
curl -L -o whoiam_windows_x86_64.zip https://github.com/cliwright/whoiam/releases/download/VERSION/whoiam_Windows_x86_64.zip
For the macOS binary:
curl -L -o whoiam_darwin_x86_64.tar.gz https://github.com/cliwright/whoiam/releases/download/VERSION/whoiam_Darwin_x86_64.tar.gz && \
tar -xzf whoiam_darwin_x86_64.tar.gz && \
chmod +x whoiam && \
sudo mv whoiam /usr/local/bin/
Build from Source
To build whoiam from source, run the following commands:
git clone https://github.com/cliwright/whoiam.git && \
cd whoiam && \
go build -o whoiam