Go to the Releases page and download the latest version for your OS.
Check that it launches correctly:
nocolor version
(here and then, we suppose that the nocolor
binary is available by name)
You're done! Proceed to the Getting started page.
Make sure you have Go version 1.16 or higher installed.
Run the following command:
go get -v github.com/vkcom/nocolor
NoColor will be installed to $GOPATH/bin/nocolor
, which usually expands to $HOME/go/bin/nocolor
.
For convenience, you can add this folder to the PATH.
Make sure you have Go version 1.16 or higher installed.
Clone this repository and run make build
:
git clone https://github.com/vkcom/nocolor
cd nocolor
make build
Optionally, you can pass a name of the binary:
make build BIN_NAME=nocolor.bin
A resulting binary will be placed in the ./build
folder.
Proceed to the Getting started page.