tuios

(★ 3,523)

Terminal UI OS (Terminal Multiplexer)

File Explorer

  • .dockerignore
  • .envrc
  • .gitattributes
  • .gitignore
  • .goreleaser.yml
  • .markdownlint.json
  • AGENTS.md
  • CITATION.cff
  • Dockerfile
  • flake.lock
  • flake.nix
  • FUNDING.yml
  • go.mod
  • go.sum
  • install-web.sh
  • install.sh
  • LICENSE
  • README.md
  • SECURITY.md
  • tuios.nix

# Installation Guide

go
Prerequisites

Setup Steps

go install github.com/Gaurav-Gosain/tuios/cmd/tuios@latest

Install TUIOS using Go.

tuios

Run TUIOS.

Key Commands

tuios

Launch TUIOS in default mode.

tuios new mysession

Create a new persistent session.

tuios attach mysession

Reattach to an existing session.

tuios ls

List running sessions.

A terminal with true color support and Kitty graphics/Sixel protocol is recommended.

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

brew install

View Details ▼

Install a Homebrew formula or cask.

brew install {{formula|cask}}

Install a formula/cask:

brew install {{[-s|--build-from-source]}} {{formula}}

Build and install a formula from source (dependencies will still be installed from bottles):

brew install {{[-n|--dry-run]}} {{formula|cask}}

Download the manifest, print what would be installed but don't actually install anything:

🔍

docker run

View Details ▼

This command is an alias of `docker container run`.

tldr docker container run

View documentation for the original command:

🔍

git clone

View Details ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

go build

View Details ▼

Compile Go sources.

go build {{path/to/main.go}}

Compile a 'package main' file (output will be the filename without extension):

go build -o {{path/to/binary}} {{path/to/source.go}}

Compile, specifying the output filename:

go build -o {{path/to/binary}} {{path/to/package}}

Compile a package:

🔍

go install

View Details ▼

Compile and install packages named by the import paths.

go install

Compile and install the current package:

go install {{path/to/package}}

Compile and install a specific local package:

go install {{golang.org/x/tools/gopls}}@{{latest}}

Install the latest version of a program, ignoring `go.mod` in the current directory:

🔍

go test

View Details ▼

Test Go packages (files have to end with `_test.go`).
Note: `./...` is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory.

go test

Test the package found in the current directory:

go test -v

[v]erbosely test the package in the current directory:

go test -v ./...

Test the packages in the current directory and all subdirectories:

🔍

go vet

View Details ▼

Check Go source code and report suspicious constructs (e.g. lint your Go source files).
Go vet returns a non-zero exit code if problems are found; returns a zero exit code if no problems are found.

go vet

Check the Go package in the current directory:

go vet {{path/to/file_or_directory}}

Check the Go package in the specified path:

go tool vet help

List available checks that can be run with go vet:

🔍

mpv

View Details ▼

A audio/video player based on MPlayer.
See also: `mplayer`, `vlc`.

mpv {{url|path/to/file}}

Play a video or audio from a URL or file:

{{<ArrowLeft>|<ArrowRight>}}

Jump backward/forward 5 seconds:

{{<ArrowDown>|<ArrowUp>}}

Jump backward/forward 1 minute:

🔍

nix run

View Details ▼

Run an application from a Nix flake.
See also: `nix flake`.

nix run

Run the default application in the flake in the current directory:

nix run nixpkgs#{{pkg}}

Run a command whose name matches the package name from nixpkgs (if you want a different command from that package, see `tldr nix shell`):

nix run nixpkgs#{{vim}} -- {{path/to/file}}

Run a command with provided arguments:

🔍

yay

View Details ▼

Yet Another Yogurt: build and install packages from the Arch User Repository.
See also: `pacman`.

yay {{package_name|search_term}}

Interactively search and install packages from the repos and AUR:

yay

Synchronize and update all packages from the repos and AUR:

yay -S {{package}} --noconfirm

Install a new package from the repos and AUR and do not ask to confirm transactions:

// repository documentation