Skip to content

About

Consolidating lots of instantOS stuff into a single CLI

Resources

Stars

23 stars

Watchers

0 watching

Forks

Repository files navigation

InstantCLI

License: GPL v2

A Swiss Army knife of instantOS utilities.

A single utility to manage all your Linux needs (and some more).

It includes an Arch Linux installer, dotfile management, a cross-distro and cross-WM settings TUI, a clipboard manager, a password manager based on pass and much more, all in a single small and fast executable.

Documentation · Releases

Installation

Recommended: install script

Download and install a prebuilt binary for your system:

curl -fsSL https://raw.githubusercontent.com/instantOS/instantCLI/main/scripts/install.sh | sh
ins --help

Inspect the script before running it.

On Arch/instantOS install live media, the script also launches the OS installer. To install only the CLI there, pass --cli-only to sh:

curl -fsSL https://raw.githubusercontent.com/instantOS/instantCLI/main/scripts/install.sh | sh -s -- --cli-only

Other installation options

Arch Linux (AUR):

yay -S ins

Cargo: requires a Rust toolchain and native build dependencies (see Development).

cargo install --git https://github.com/instantOS/instantCLI --locked ins

npm: Linux x64 or ARM64 with Node.js 18 or newer. This installs the binary; external tools and desktop integration files must be installed separately.

npm install -g @instantos/cli

See the npm README for details.

Manual download: prebuilt binaries and Debian/Alpine packages are available from GitHub releases.

Development

Use a Rust toolchain supporting edition 2024, Git, a C toolchain, pkg-config, and OpenSSL/SQLite development libraries.

On Debian or Ubuntu:

sudo apt update
sudo apt install build-essential git pkg-config libssl-dev libsqlite3-dev

On Alpine/postmarketOS, also install the static SQLite library:

sudo apk add build-base git pkgconf openssl-dev sqlite-dev sqlite-static

Clone, build, and test:

git clone https://github.com/instantOS/instantCLI.git
cd instantCLI
cargo build --bin ins
cargo run -- --help

With just installed, just install installs the debug binary and desktop integration for the current user. just rootinstall installs the debug binary to /usr/local/bin using sudo.

Check changes and run tests:

cargo fmt --check
cargo check
cargo test
just test

See AGENTS.md for repository conventions, installer sources for work on the install script, release maintenance, and npm publishing.

License

GPL-2.0-only.

About

Consolidating lots of instantOS stuff into a single CLI

Resources

Stars

23 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages