Installation for development of termlib
termlib A simplist, pure Go, library for working with an ANSI terminal.
Quick install with curl or irm
There is an experimental installer.sh script that can be run with the following command to install latest table release. This may work for macOS, Linux and if you’re using Windows with the Unix subsystem. This would be run from your shell (e.g. Terminal on macOS).
curl https://rsdoiel.github.io/termlib/installer.sh | sh
This will install the programs included in termlib in your
$HOME/bin directory.
If you are running Windows 10 or 11 use the Powershell command below.
irm https://rsdoiel.github.io/termlib/installer.ps1 | iexIf your are running macOS or Windows
You may get security warnings if you are using macOS or Windows. See the notes for the specific operating system you’re using to fix issues.
Installing from source
Required software
- Go >= 1.25
- CMTools >= 0.0.40
Steps
- git clone https://github.com/rsdoiel/termlib
- Change directory into the
termlibdirectory - Make to build, test and install
git clone https://github.com/rsdoiel/termlib
cd termlib
make
make test
make install