### Quick Start: Install, Set API Key, and Run Example Source: https://www.x-cmd.com/install/gptscript A quick start guide to install GPTScript, set the OpenAI API key, and run a basic example. Ensure you replace 'sk-xxx' with your actual API key. ```bash # Install curl https://get.gptscript.ai/install.sh | sh # Set API Key export OPENAI_API_KEY=sk-xxx # Run example gptscript github.com/gptscript-ai/llm-basics-demo ``` -------------------------------- ### Plankton Quick Start Setup Source: https://www.x-cmd.com/skill/affaanmustafa/plankton-code-quality Provides a quick start guide for setting up Plankton, including cloning the repository, installing core dependencies via Homebrew, and syncing Python linters with uv. ```bash # Clone Plankton into your project (or a shared location) # Note: Plankton is by @alxfazio git clone https://github.com/alexfazio/plankton.git cd plankton # Install core dependencies brew install jaq ruff uv # Install Python linters uv sync --all-extras # Start Claude Code — hooks activate automatically claude ``` -------------------------------- ### Quick Start with Webtau Example Project Source: https://www.x-cmd.com/install/webtau Generate and run an example Webtau project to quickly get started. This involves creating an example project, navigating into it, and running the tests against a specified URL. ```bash # Generate example project webtau --example cd examples/todo # Run example tests webtau todolist.groovy --url=https://jsonplaceholder.typicode.com ``` -------------------------------- ### Install Deno using x-cmd Source: https://www.x-cmd.com/pkg/deno Installs x-cmd and then uses it to install the Deno runtime. This is the recommended way to get started with Deno. ```shell eval "$(curl https://get.x-cmd.com)" # Installing x-cmd x env use deno # Install deno using x-cmd ``` -------------------------------- ### Install and Use diffoscope via x-cmd Source: https://www.x-cmd.com/pkg/diffoscope This example shows how to install diffoscope using the 'x env use' command and then access its help documentation. It's a quick way to get started with diffoscope. ```shell # Get diffoscope via x x env use diffoscope # See diffoscope's help documentation diffoscope --help ``` -------------------------------- ### Quick Start: Install Liqo and Establish Peering Source: https://www.x-cmd.com/install/liqoctl Guides through installing Liqo on two clusters and establishing a peering connection between them. Verifies the installation and peering status. ```bash # 1. Verify kubectl can access the target cluster kubectl get nodes # 2. Install Liqo on the first cluster liqoctl install --kubeconfig=$HOME/.kube/config1 # 3. Install Liqo on the second cluster liqoctl install --kubeconfig=$HOME/.kube/config2 # 4. Establish peering liqoctl peer in-band \ --kubeconfig=$HOME/.kube/config1 \ --remote-kubeconfig=$HOME/.kube/config2 # 5. Check if virtual nodes appear kubectl --kubeconfig=$HOME/.kube/config1 get nodes # Output should include a virtual node like liqo- ``` -------------------------------- ### Quick Start: Node.js Project Setup with Odo Source: https://www.x-cmd.com/install/odo Guides through creating a new Node.js project, initializing it with Odo, and starting the development server. ```bash # 1. Create new project directory mkdir my-node-app && cd my-node-app # 2. Initialize (select Node.js template) od o init # Interactive selection: Language -> Node.js -> Template version # 3. Start development mode od o dev # Now when you modify and save code, odo automatically syncs to the container # 4. Access application (in another terminal) od o describe component # View port forwarding info, usually http://localhost:3000 ``` -------------------------------- ### Install Kubeshark using x install Source: https://www.x-cmd.com/install/kubeshark Use the `x install` command for a quick installation. This is a convenient way to get started with Kubeshark. ```bash x install kubeshark ``` -------------------------------- ### Install Kubefirst CLI Source: https://www.x-cmd.com/install/kubefirst Use the `x install` command to install the Kubefirst CLI. This is the primary method for getting started. ```bash x install kubefirst ``` -------------------------------- ### Install and Use Busybox Source: https://www.x-cmd.com/pkg/busybox Quick start guide to install Busybox using 'x env use' and then execute Busybox commands. ```shell x env use busybox ``` ```shell busybox ls ``` ```shell busybox --help ``` -------------------------------- ### New Project Setup: Install and Use LTS Source: https://www.x-cmd.com/install/fnm Guides through setting up a new project by installing the latest LTS Node.js version, setting it as default, and creating a project version file. ```bash # Install latest LTS fnm install --lts # Set as default fnm default lts-latest # Create project version file cd my-project fnm use lts-latest node --version > .node-version ``` -------------------------------- ### Install and Use Kyanos via x-cmd Source: https://www.x-cmd.com/pkg/kyanos Install x-cmd and then use it to install and set kyanos as the active environment. This is the recommended way to get started. ```sh eval "$(curl https://get.x-cmd.com)" # Install x-cmd x env use kyanos # Use x-cmd to install kyanos ``` -------------------------------- ### Quick Start Installation and Usage Source: https://www.x-cmd.com/pkg/chatgpt Install and start chatting with the chatgpt CLI tool. Includes setting the API key and initiating a chat or using a custom prompt. ```shell # Install chatgpt via x-cmd x env use chatgpt # Set your API Key export OPENAI_API_KEY=xxx # Start chatting chatgpt # Use a custom prompt chatgpt -p translator ``` -------------------------------- ### Install gifski using x-cmd Source: https://www.x-cmd.com/pkg/gifski Installs the x-cmd tool and then installs gifski using x-cmd. This is the recommended way to get started. ```sh eval "$(curl https://get.x-cmd.com)" # Installing x-cmd x env use gifski # Install gifski using x-cmd ``` -------------------------------- ### Install and Start Syncthing with x-cmd Source: https://www.x-cmd.com/install/syncthing Install Syncthing using the x-cmd environment manager and start the service. The first launch will generate configuration files and keys. ```bash # Install using x-cmd x env use syncthing # Start the service (first launch generates config files and keys) syncthing ``` -------------------------------- ### x-cmd Installation Examples Source: https://www.x-cmd.com/install/discord Provides examples of installing Discord using x-cmd for different platforms. ```bash # Windows (via scoop) x scoop install discord # macOS (via brew) x brew install --cask discord # Linux (via flatpak) x flatpak install flathub com.discordapp.Discord # Linux (via snap) x snap install discord ``` -------------------------------- ### Install Software with x install Source: https://www.x-cmd.com/install/get-started Use 'x install' to find and install software. This example shows how to install 'subversion' and lists other available software. ```bash > # Install software using x install command > x install ``` -------------------------------- ### Install and Use ktx Source: https://www.x-cmd.com/pkg/ktx Installs ktx using the x env command. This is the recommended way to get started with ktx. ```sh x env use ktx ``` -------------------------------- ### x-cmd Installation Examples Source: https://www.x-cmd.com/install/chrome Provides examples for installing Chrome on Windows (scoop), macOS (brew), and Linux (flatpak) using x-cmd. ```bash # Windows (via scoop) x scoop install googlechrome # macOS (via brew) x brew install --cask google-chrome # Linux (via flatpak) x flatpak install flathub com.google.Chrome ``` -------------------------------- ### Install and Run Catai Source: https://www.x-cmd.com/pkg/catai Quick start guide to install catai using x-cmd and run the chat service. Follow these steps to get started with local LLM inference. ```shell # Install catai via x-cmd x env use catai # List available models catai models # Install a GGUF model catai install qwen3-4b-q4_k_m # Start the chat service catai up ``` -------------------------------- ### Quick Start with Demo Application Source: https://www.x-cmd.com/install/ll-cli Demonstrates basic ll-cli commands for installing, running, listing, viewing details, and uninstalling the official demo application. ```bash # Install the demo app ll-cli install cn.org.linyaps.demo # Run the app ll-cli run cn.org.linyaps.demo # List installed apps ll-cli list # View app details ll-cli info cn.org.linyaps.demo # Uninstall the app ll-cli uninstall cn.org.linyaps.demo ``` -------------------------------- ### Install and use Ruff via x-cmd Source: https://www.x-cmd.com/pkg/ruff These commands install the x-cmd tool and then use it to install and set up the Ruff environment. This is the recommended way to get started with Ruff. ```sh eval "$(curl https://get.x-cmd.com)" # Install x-cmd x env use ruff # Use x-cmd to install ruff ``` -------------------------------- ### Interactive Lutris Installation with x-cmd Source: https://www.x-cmd.com/blog/241205 Enable the interactive UI for the x-cmd install module to guide you through the installation process. This is useful for a more guided setup. ```bash # Enable interactive UI for the install module x install ``` -------------------------------- ### Install and Use x-cmd Source: https://www.x-cmd.com/pkg/python Installs x-cmd and then uses it to install the Python environment. This is the initial setup step. ```sh eval "$(curl https://get.x-cmd.com)" # Install x-cmd x env use python # Install python using x-cmd ``` -------------------------------- ### Install Cargo using x install Source: https://www.x-cmd.com/install/cargo Use the 'x install' command to install Cargo. This is a convenient way to get started. ```shell x install cargo ``` -------------------------------- ### Install Znai and Create Project Source: https://www.x-cmd.com/install/znai Install Znai using SDKMAN, verify the installation, create a new documentation project, and start the preview server. ```bash # Install Znai sdk install znai # Verify installation znai --version # Create a new documentation project znai --new my-docs # Start preview server cd my-docs znai --preview ``` -------------------------------- ### Install Atlasgo using x install Source: https://www.x-cmd.com/install/atlasgo Installs Atlasgo using the 'x install' command. This is a quick way to get started. ```shell x install atlasgo ``` -------------------------------- ### Typical Workflow: New Team Member Setup Source: https://www.x-cmd.com/install/kubecm A step-by-step guide for a new team member setting up a multi-cluster environment, including importing, adding, listing, renaming, and switching contexts and namespaces. ```bash # 1. Import production cluster from Alibaba Cloud kubecm cloud add --provider alibabacloud # 2. Add test cluster from local file kubecm add -f ./test-cluster.yaml # 3. View all available clusters kubecm list # 4. Rename verbose context kubecm rename arn:aws:eks:us-west-2:xxx:cluster/prod prod # 5. Quick switch to production cluster kubecm s prod # 6. Switch to monitoring namespace kubecm ns monitoring ``` -------------------------------- ### Install kind via x Source: https://www.x-cmd.com/pkg/kind Installs the kind tool using the x environment manager. This is the recommended way to get started. ```sh x env use kind # Install kind via x ``` -------------------------------- ### Install and Start Ubuntu with x-cmd Source: https://www.x-cmd.com/mod/termux/cookbook-2 Installs and starts the Ubuntu subsystem using the 'm' command alias provided by x-cmd. Ensure x-cmd is installed first. ```bash curl https://get.x-cmd.com | sh m ubu # Installs and starts the Ubuntu subsystem ``` -------------------------------- ### Quick cluster creation examples Source: https://www.x-cmd.com/install/ctlptl Demonstrates quick creation of different types of local Kubernetes clusters with specific configurations. ```bash # Docker Desktop with 4 CPUs ctlptl create cluster docker-desktop --min-cpus=4 # KIND with built-in registry (random port) ctlptl create cluster kind --registry=ctlptl-registry # Minikube with specific K8s version ctlptl create cluster minikube --kubernetes-version=v1.28.0 ``` -------------------------------- ### Install Slim using x-cmd Source: https://www.x-cmd.com/install/slim Use the 'x install' command to install Slim. This is a convenient way to get started. ```sh x install slim ``` -------------------------------- ### Install SDKMAN using x install Source: https://www.x-cmd.com/install/sdkman Installs SDKMAN using the x-cmd tool. This is a quick way to get started. ```shell x install sdkman ``` -------------------------------- ### Install Grex using x-cmd Source: https://www.x-cmd.com/install/grex Install and set up the grex environment using a single x-cmd command. This is a convenient way to get started with grex. ```bash x env use grex ``` -------------------------------- ### Initialize Sphinx Project with sphinx-quickstart Source: https://www.x-cmd.com/install/sphinx Use the sphinx-quickstart wizard to create the basic directory structure and configuration files for a Sphinx documentation project. ```bash sphinx-quickstart docs ``` -------------------------------- ### Install DokuWiki using x-cmd Source: https://www.x-cmd.com/install/dokuwiki Use the x-cmd tool to quickly install DokuWiki. This is a convenient way to get started. ```shell x install dokuwiki ``` -------------------------------- ### Install kubecm with x install Source: https://www.x-cmd.com/install/kubecm Install kubecm using the x command-line tool. This is a quick way to get started. ```sh x install kubecm ``` -------------------------------- ### Install Acme Client Source: https://www.x-cmd.com/install/acme Installs the acme.sh client. This is the primary command to get started with the tool. ```shell x install acme ``` -------------------------------- ### Launch Marimo Tutorial Source: https://www.x-cmd.com/install/marimo Start the Marimo interactive tutorial to learn the basics. ```bash # Launch tutorial marimo tutorial intro ``` -------------------------------- ### Install gopass using x install Source: https://www.x-cmd.com/install/gopass General command to install gopass using the x install utility. This is a convenient way to get started. ```sh x install gopass ``` -------------------------------- ### Install Braindrop using x install Source: https://www.x-cmd.com/install/braindrop Use the 'x install' command to install the braindrop application. This is a convenient way to get started with the tool. ```shell x install braindrop ``` -------------------------------- ### Complete Project Configuration Example Source: https://www.x-cmd.com/install/mise A comprehensive mise.toml example demonstrating tool management, environment variables, and complex task definitions with dependencies. ```toml # mise.toml [tools] terraform = "1.9" aws-cli = "2" jq = "1.7" [env] TF_WORKSPACE = "development" AWS_REGION = "us-west-2" AWS_PROFILE = "dev" TF_IN_AUTOMATION = "true" [tasks.validate] description = "Validate terraform configuration" run = """ terraform fmt -check terraform validate """ [tasks.plan] description = "Run terraform plan" depends = ["validate"] run = """ terraform init terraform workspace select $TF_WORKSPACE || terraform workspace new $TF_WORKSPACE terraform plan -out=tfplan """ [tasks.apply] description = "Apply terraform changes" depends = ["plan"] run = "terraform apply tfplan" ``` -------------------------------- ### Install and Start Xonsh Source: https://www.x-cmd.com/pkg/xonsh Installs xonsh using the x env command and then starts the xonsh shell. ```shell x env use xonsh xonsh ``` -------------------------------- ### Install Next.js using x-cmd Source: https://www.x-cmd.com/install/nextjs Use the 'x install' command to quickly set up Next.js. This is a convenient way to start a new project. ```bash x install nextjs ``` -------------------------------- ### Ansible Playbook Example: Install and Start Nginx Source: https://www.x-cmd.com/install/ansible A basic Ansible playbook written in YAML to install Nginx and ensure the service is started on target web servers. ```yaml - hosts: webservers tasks: - name: Install nginx apt: name=nginx state=present - name: Start nginx service: name=nginx state=started ``` -------------------------------- ### Install Zim using x install Source: https://www.x-cmd.com/install/zim Use the `x install` command for a quick setup of Zim. ```shell x install zim ``` -------------------------------- ### Practical Configuration Example Source: https://www.x-cmd.com/install/gallery-dl A comprehensive JSON configuration file example demonstrating unified download locations, archive tracking, cookie extraction, and site-specific settings. ```json { "extractor": { "base-directory": "~/Downloads/gallery-dl", "archive": "~/Downloads/gallery-dl/archive.db", "cookies-from-browser": "firefox", "pixiv": { "username": "user", "password": "pass", "directory": ["{category}", "{user[name]}"], "filename": "{id}_p{num}.{extension}", "ugoira": true }, "twitter": { "twitpic": true, "videos": true, "retweets": false } }, "downloader": { "filesize-max": "5M", "mtime": true }, "output": { "mode": "auto", "progress": true, "shorten": true }, "postprocessor": { "name": "mtime", "event": "file" } } ``` -------------------------------- ### Install Pierrot CLI Source: https://www.x-cmd.com/install/pierrot Installs the Pierrot command-line interface. This is the primary way to get started with Pierrot. ```sh x install pierrot ``` -------------------------------- ### Install fx using x-cmd Source: https://www.x-cmd.com/pkg/fx Installs the fx tool using the x-cmd environment manager. This is the recommended way to get started with fx. ```sh x env use fx ``` -------------------------------- ### Quick Install Kanban-TUI Source: https://www.x-cmd.com/install/kanban-tui A shortcut command for installing Kanban-TUI. This is a convenient way to get started quickly. ```sh x install kanban-tui ``` -------------------------------- ### Install thefuck using x pkg use Source: https://www.x-cmd.com/install/thefuck Installs thefuck using the x pkg use command. ```sh x pkg use thefuck ``` -------------------------------- ### Install JReleaser with x-cmd Source: https://www.x-cmd.com/install/jreleaser Installs JReleaser using the x-cmd tool. This is a quick way to get started. ```bash x install jreleaser ``` -------------------------------- ### Install Crossplane CLI Source: https://www.x-cmd.com/install/crossplane-cli Installs the Crossplane CLI. This is the primary command to get started with the Crossplane CLI. ```bash x install crossplane-cli ``` -------------------------------- ### Install and Use uv Source: https://www.x-cmd.com/pkg/uv Installs x-cmd and then uses it to install and set uv as the active environment. This is the initial setup step. ```sh eval "$(curl https://get.x-cmd.com)" # Install x-cmd x env use uv # Use x-cmd to install uv ``` -------------------------------- ### Install aurutils with x-cmd Source: https://www.x-cmd.com/install/aurutils Installs aurutils using the x-cmd tool. This is a quick way to get started. ```shell x install aurutils ``` -------------------------------- ### Install arkade CLI Source: https://www.x-cmd.com/install/arkade Installs the arkade CLI tool. This is the primary command to get started with arkade. ```sh x install arkade ``` -------------------------------- ### Install xgo using x-cmd Source: https://www.x-cmd.com/install/gop Use the x-cmd tool to set up the xgo environment. This is the recommended installation method. ```bash x env use xgo ``` -------------------------------- ### Basic DeepChem Installation Source: https://www.x-cmd.com/skill/k-dense-ai/deepchem Install the core DeepChem library using pip. This is the basic command for getting started. ```bash uv pip install deepchem ``` -------------------------------- ### One-Line Install with x-cmd Source: https://www.x-cmd.com/install/pkgconf Use x-cmd to quickly set up and use pkgconf in your environment. ```bash x env use pkgconf ``` -------------------------------- ### Install pkgx (Latest Version) Source: https://www.x-cmd.com/mod/pkgx/--install Installs the latest version of pkgx by default. This is the simplest way to get started. ```sh x pkgx --install ``` -------------------------------- ### Install and Run Sampler Source: https://www.x-cmd.com/pkg/sampler Installs Sampler using x-cmd, creates a configuration file, and runs the sampler command. ```shell # Install sampler x env use sampler #Create config.yml file, example https://github.com/sqshq/sampler?tab=readme-ov-file#components vim config.yml # run sampler sampler -c config.yml ``` -------------------------------- ### Install Znai using x-cmd Source: https://www.x-cmd.com/install/znai Use the x-cmd tool to install Znai. This is a quick way to get started. ```shell x install znai ``` -------------------------------- ### Install Skeletal CLI Source: https://www.x-cmd.com/install/skeletal Install the Skeletal command-line interface tool. This is the primary command to get started with Skeletal. ```sh x install skeletal ``` -------------------------------- ### Install Skills and Packages with x install Source: https://www.x-cmd.com/blog/260520 Demonstrates various ways to use `x install` for installing skills, packages using prefix syntax, and selecting installation methods. Use `--printcmd` to see the command without executing, useful for AI agents. ```bash # Default: interactive mode, pick one to install x install # Install a skill, one command x install skill/anthropics/pptx # Use prefix to specify source, no need to remember commands x install brew/jq # Auto-select best method, great for CI/CD x install --best bun # Prefer brew, then xpkg x install --best --priority brew,xpkg bun # Output install command only, don't execute — great for AI x install --printcmd bun x install --best --printcmd bun # Use specified package manager to install multiple packages x install --withtool brew vim bun # See which package managers are installed on your system x install --available-tool --installed ``` -------------------------------- ### Install Miniconda using x-cmd Source: https://www.x-cmd.com/install/miniconda Use the x-cmd tool to install Miniconda. This is a quick way to get started. ```shell x install miniconda ``` -------------------------------- ### Initialize and Serve Doctave Documentation Source: https://www.x-cmd.com/install/doctave Quickly set up a documentation site for an open-source project. This involves initializing the project, editing the main documentation file, and starting a local preview server. ```bash # Set up documentation site in 5 minutes cd my-project doctave init # Edit docs/README.md with project description doctave serve # Local preview git add docs && git commit -m "Add documentation" # Configure GitHub Actions for automatic Pages deployment ``` -------------------------------- ### Install MacPorts using x-cmd Source: https://www.x-cmd.com/install/macports Installs MacPorts using the x-cmd tool. This is a convenient way to get started. ```shell x install macports ``` -------------------------------- ### Download and Install Go Binary Source: https://www.x-cmd.com/install/go Installs Go by downloading the binary archive from the official website and extracting it to the local directory. Includes setting the PATH environment variable. ```bash # Linux example curl -L https://go.dev/dl/go1.24.0.linux-amd64.tar.gz -o go.tar.gz sudo rm -rf /usr/local/go sudo tar -C /usr/local -xzf go.tar.gz export PATH=$PATH:/usr/local/go/bin ``` -------------------------------- ### Initialize Configuration Source: https://www.x-cmd.com/mod/hn/cookbook-1 Run the 'init' command to start the interactive configuration setup. ```bash x hn init ``` -------------------------------- ### Install Kubebuilder using x-cmd Source: https://www.x-cmd.com/install/kubebuilder Installs Kubebuilder using the x-cmd tool. This is a quick way to get started. ```bash x install kubebuilder ``` -------------------------------- ### Initialize x wkp Configuration Source: https://www.x-cmd.com/mod/wkp/cookbook-1 Run the init command for interactive setup of network proxy and API endpoint. Alternatively, use --cfg for manual configuration. ```bash x wkp init ``` ```bash # Set proxy x wkp --cfg proxy=http://your_proxy:port # Set API endpoint (optional) x wkp --cfg endpoint=https://your_api_endpoint ``` ```bash x wkp --cfg cat ``` ```bash x wkp --cfg clear ``` -------------------------------- ### Install kscript using x-cmd Source: https://www.x-cmd.com/install/kscript Use the x-cmd tool to install kscript. This is a straightforward way to get started. ```shell x install kscript ``` -------------------------------- ### Install Geeknote via x-cmd Source: https://www.x-cmd.com/install/geeknote Installs Geeknote using the x-cmd tool. This is a convenient way to get started. ```sh x install Geeknote ``` -------------------------------- ### Install and View 7za Help Source: https://www.x-cmd.com/pkg/7za Installs 7za using the x environment command and then displays its help documentation. ```shell x env use 7za # Install 7za via x 7za --help # View help documentation ``` -------------------------------- ### System-wide Installation Source: https://www.x-cmd.com/install/plann Instructions for cloning the plann repository and installing the tool globally using sudo. ```bash git clone https://github.com/tobixen/plann.git cd plann sudo python3 setup.py install ``` -------------------------------- ### Install Digger CLI Source: https://www.x-cmd.com/install/digger Use this command to install the Digger CLI. This is the primary command for getting started with Digger. ```shell x install digger ``` -------------------------------- ### Quick Start: First KUTTL Test Suite Source: https://www.x-cmd.com/install/kuttl A minimal example demonstrating the creation of a test directory structure, a deployment manifest, an assertion manifest, and the test suite configuration. ```bash # 1. Create test directory structure mkdir -p tests/e2e/deployment-test # 2. Create test step: deploy application cat > tests/e2e/deployment-test/00-install.yaml << 'EOF' apiVersion: apps/v1 kind: Deployment metadata: name: nginx-test spec: replicas: 2 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx:alpine ports: - containerPort: 80 EOF # 3. Create assertion: verify deployment state cat > tests/e2e/deployment-test/00-assert.yaml << 'EOF' apiVersion: apps/v1 kind: Deployment metadata: name: nginx-test status: readyReplicas: 2 EOF # 4. Create test suite configuration cat > kuttl-test.yaml << 'EOF' apiVersion: kuttl.dev/v1beta1 kind: TestSuite testDirs: - ./tests/e2e/ startKIND: true EOF # 5. Run tests kubectl kuttl test ``` -------------------------------- ### Install blesh using x-cmd Source: https://www.x-cmd.com/install/blesh Use the x-cmd tool to install blesh. This is a quick way to get started. ```shell x install blesh ``` -------------------------------- ### Initialize New Project with asdf Source: https://www.x-cmd.com/install/asdf Steps to set up a new project using asdf, including adding plugins, installing specific versions, and creating the .tool-versions file. ```bash # 1. Enter project directory cd my-project # 2. Install required language plugins (if not already installed) asdf plugin add nodejs asdf plugin add python # 3. Install specific versions asdf install nodejs 20.11.0 asdf install python 3.11.4 # 4. Write .tool-versions file asdf set nodejs 20.11.0 asdf set python 3.11.4 # 5. Commit to version control for team sharing git add .tool-versions git commit -m "chore: lock runtime versions" ``` -------------------------------- ### Install asdf using x-cmd Source: https://www.x-cmd.com/install/asdf Use the x-cmd tool to install asdf. This is a quick way to get started. ```shell x install asdf ``` -------------------------------- ### Install Biome globally using x install Source: https://www.x-cmd.com/install/biome Installs Biome globally on your system using the 'x install' command. This is a convenient way to get started with Biome. ```bash x install biome ``` -------------------------------- ### Install and Run bpytop Source: https://www.x-cmd.com/pkg/bpytop Use 'x env use bpytop' to get bpytop and then run 'bpytop' to open the resource monitor. ```sh # Get bpytop with x x env use bpytop # Start bpytop to open the resource monitor bpytop ``` -------------------------------- ### Install Beads via Script Source: https://www.x-cmd.com/install/beads Use this command to install beads by piping the install script directly to bash. This is a quick way to get started. ```sh curl -fsSL https://raw.githubusercontent.com/steveyegge/beads/main/scripts/install.sh | bash ``` -------------------------------- ### Install and Use Node.js Versions Source: https://www.x-cmd.com/install/nvm Demonstrates how to install specific or latest Node.js versions and switch between them. Installation downloads precompiled binaries. ```bash nvm install 20 # Install latest Node 20.x nvm install 18.19.0 # Install specific version nvm use 20 # Switch to Node 20 nvm use 18 # Switch to Node 18 ``` -------------------------------- ### Example package.json Configuration Source: https://www.x-cmd.com/install/yarn A sample package.json file demonstrating the packageManager, dependencies, and scripts. ```json { "packageManager": "yarn@4.5.0", "dependencies": { "react": "^18.0.0" }, "scripts": { "build": "tsc", "build:watch": "tsc --watch" } } ``` -------------------------------- ### Install Webtau using x-cmd Source: https://www.x-cmd.com/install/webtau Installs Webtau using the x-cmd package manager. This is a quick way to get started. ```sh x install webtau ``` -------------------------------- ### Install Stylelint with x-cmd Source: https://www.x-cmd.com/install/stylelint Installs stylelint using the general x-cmd command. This is a convenient way to get started with the tool. ```bash x install stylelint ``` -------------------------------- ### Install Gojo using x-cmd Source: https://www.x-cmd.com/install/gojo Use this command to set up the Gojo environment via x-cmd. ```bash x env use gojo ``` -------------------------------- ### Install Telepresence using x-cmd Source: https://www.x-cmd.com/install/telepresence Installs Telepresence using the x-cmd package manager. This is a quick way to get started. ```bash x install telepresence ``` -------------------------------- ### Install qq using x install Source: https://www.x-cmd.com/install/qq Installs the qq command-line tool using the x install command. ```bash x install qq ``` -------------------------------- ### Common lf startup options Source: https://www.x-cmd.com/pkg/lf Demonstrates various ways to start the lf file manager, including specifying a directory, viewing documentation, and printing the last visited directory. ```sh lf # Set the initial directory to open, defaults to the current directory if empty lf -doc # View the lf documentation lf -print-last-dir # Print the last visited directory ``` -------------------------------- ### Install sqlfmt using x-cmd Source: https://www.x-cmd.com/install/sqlfmt Installs sqlfmt using the x-cmd package manager. This is a quick way to get started. ```bash x install sqlfmt ``` -------------------------------- ### Install thefuck using x-cmd Source: https://www.x-cmd.com/install/thefuck Install thefuck by using the 'x env use thefuck' command. ```bash x env use thefuck ``` -------------------------------- ### Install Puppet using x-cmd Source: https://www.x-cmd.com/install/puppet Use this command to install Puppet via x-cmd. This is a quick way to get started. ```shell x install puppet ``` -------------------------------- ### Install Minikube using x-cmd Source: https://www.x-cmd.com/install/minikube Installs Minikube using the x-cmd package manager. This is a quick way to get started. ```sh x install minikube ``` -------------------------------- ### Example: Record x-cmd Installation and Generate GIF Source: https://www.x-cmd.com/1min/vhs Demonstrates writing a tape file to record the installation of x-cmd and then using it to generate a GIF. This showcases a practical use case for vhs. ```bash x vhs x-cmd.tape ``` -------------------------------- ### Install and Run doitlive via x-cmd Source: https://www.x-cmd.com/pkg/doitlive Installs doitlive using 'x env use doitlive', checks its help documentation, creates a session file, and runs the presentation. ```shell # Get doitlive via x x env use doitlive # Check doitlive's help doc doitlive --help # Create a file called session.sh, fill it with bash commands # Run doitlive play session.sh doitlive play session.sh # Type furiously ``` -------------------------------- ### Install Jekyll using x-cmd Source: https://www.x-cmd.com/install/jekyll Installs Jekyll using the x-cmd package manager. This is a quick way to get started. ```shell x install jekyll ``` -------------------------------- ### Quick Start Examples Source: https://www.x-cmd.com/mod/gtb/cookbook-1 Commonly used `x gtb` commands for quick access to functionalities like listing books, searching, DuckDuckGo searches, and retrieving book details. ```bash x gtb ``` ```bash x gtb search Dumas ``` ```bash x gtb : dumas ``` ```bash x gtb show 100 ``` -------------------------------- ### Install JBake using x-cmd Source: https://www.x-cmd.com/install/jbake Installs JBake using the x-cmd package manager. This is a quick way to get started. ```sh x install jbake ``` -------------------------------- ### Install InfluxDB using x-cmd Source: https://www.x-cmd.com/install/influxdb Installs InfluxDB using the x-cmd package manager. This is a quick way to get started. ```shell x install influxdb ``` -------------------------------- ### Install and Run wtfutil using Go Source: https://www.x-cmd.com/install/wtfutil Installs wtfutil from source using Go. This involves setting environment variables, fetching the source, building, and then running the application. ```go export GOPROXY="https://proxy.golang.org,direct" export GOSUMDB=off export GO111MODULE=on go get -u github.com/wtfutil/wtf cd $GOPATH/src/github.com/wtfutil/wtf make install make run ``` -------------------------------- ### Install gitleaks using x-cmd Source: https://www.x-cmd.com/install/gitleaks Installs gitleaks using the x-cmd package manager. This is a quick way to get started. ```shell x install gitleaks ``` -------------------------------- ### Install gotop using x install Source: https://www.x-cmd.com/install/gotop Use the 'x install' command to install gotop. This is a general installation method. ```sh x install gotop ``` -------------------------------- ### Create Snapshot (Usage Example) Source: https://www.x-cmd.com/mod/bwh/snapshot Demonstrates the basic usage for creating a snapshot. No arguments are required if a default description is acceptable or if prompted. ```shell x bwh snapshot create ``` -------------------------------- ### Install Dooit using x-cmd Source: https://www.x-cmd.com/install/dooit Use the x-cmd tool to quickly install Dooit. This is a convenient way to get started. ```shell x install dooit ``` -------------------------------- ### Install Sampler using wget (Linux) Source: https://www.x-cmd.com/install/sampler Installs the sampler tool on Linux by downloading the binary using wget and placing it in the system's PATH. ```sh sudo wget https://github.com/sqshq/sampler/releases/download/v1.1.0/sampler-1.1.0-linux-amd64 -O /usr/local/bin/sampler sudo chmod +x /usr/local/bin/sampler ``` -------------------------------- ### Install daemontools using x-cmd Source: https://www.x-cmd.com/install/daemontools Installs daemontools using the x-cmd package manager. This is a quick way to get started. ```shell x install daemontools ``` -------------------------------- ### Install CppUnit using x-cmd Source: https://www.x-cmd.com/install/cppunit Installs CppUnit using the x-cmd package manager. This is a quick way to get started. ```shell x install cppunit ``` -------------------------------- ### Install OpenJDK 21 using x-cmd Source: https://www.x-cmd.com/install/java Use the x-cmd tool to easily set up OpenJDK 21. This is the recommended method for a quick setup. ```bash # Install OpenJDK 21 x env use java # Or use asdf for specific distributions x env use asdf-java ``` -------------------------------- ### New Project Initialization with SDKMAN Source: https://www.x-cmd.com/install/sdkman A step-by-step guide to initializing a new project, installing required SDKs (Java, Maven), setting up the .sdkmanrc file, and verifying the installed versions. ```bash # 1. Create project directory mkdir my-spring-project && cd my-spring-project # 2. Install required SDKs sdk install java 21.0.2-tem sdk install maven 3.9.6 # 3. Initialize .sdkmanrc sdk env init # Edit .sdkmanrc to ensure versions are correct # 4. Enable environment sdk env # 5. Verify versions java -version mvn -version # 6. Commit to version control git add .sdkmanrc git commit -m "chore: lock SDK versions" ``` -------------------------------- ### Install Coursier using x-cmd Source: https://www.x-cmd.com/install/coursier Installs Coursier using the x-cmd package manager. This is a quick way to get started. ```sh x install coursier ``` -------------------------------- ### Install Benthos using x-cmd Source: https://www.x-cmd.com/install/benthos Installs Benthos using the x-cmd package manager. This is a quick way to get started. ```shell x install benthos ``` -------------------------------- ### Install Argo Rollouts with x-cmd Source: https://www.x-cmd.com/install/argo-rollouts Installs Argo Rollouts using the x-cmd tool. This is a quick way to get started. ```shell x install argo-rollouts ``` -------------------------------- ### Quick Start: Install and Run Sydbox Source: https://www.x-cmd.com/install/sydbox Install sydbox and then run a command, restricting file access to the current directory and network access to localhost. ```bash # Install sydbox x install sydbox # Restrict to read/write only in current directory syd -m "read:${PWD}@ro" -m "write:${PWD}" -- # Restrict network to local connections only syd -m "net/connect:127.0.0.1/8" -- # Check system support syd --check ``` -------------------------------- ### Install Kitty using x-cmd Source: https://www.x-cmd.com/install/kitty This one-line command installs x-cmd if it's not present and then uses it to set up Kitty. Recommended for a quick and easy installation. ```bash # Quick install via x-cmd eval "$(curl https://get.x-cmd.com)" # Install x-cmd if not present x env use kitty ``` -------------------------------- ### Install Skim using x-cmd Source: https://www.x-cmd.com/pkg/skim Installs the skim package using the x-cmd environment manager. This is the recommended way to get started. ```shell x env use skim ``` -------------------------------- ### Install Kubectx using x-cmd Source: https://www.x-cmd.com/pkg/kubectx Installs the kubectx tool using the x-cmd package manager. This is the recommended way to get started. ```shell x env use kubectx # Install kubectx via x ``` -------------------------------- ### Install and Use scc Source: https://www.x-cmd.com/pkg/scc Demonstrates how to install scc using 'x env use' and then run it to count lines of code in the current directory. ```sh # Install scc x env use scc # Count lines of code in files of the current directory scc ``` -------------------------------- ### x-cmd Installation Examples Source: https://www.x-cmd.com/install/obs-studio Convenience commands for installing OBS Studio using x-cmd across different operating systems. ```bash # Windows (via scoop) x scoop install obs-studio ``` ```bash # macOS (via brew) x brew install --cask obs ``` ```bash # Linux (via flatpak) x flatpak install flathub com.obsproject.Studio ``` -------------------------------- ### Install Pop using x-cmd Source: https://www.x-cmd.com/install/pop Set up the Pop environment by using the 'x env use pop' command. ```bash x env use pop ``` -------------------------------- ### Install WireMan using X-CMD Source: https://www.x-cmd.com/install/wireman Installs WireMan directly using the X-CMD command-line tool. This is a convenient way to get started. ```sh x install wireman ``` -------------------------------- ### Example Justfile Syntax Source: https://www.x-cmd.com/install/just Demonstrates the basic syntax of a Justfile, including defining recipes for building, testing, deploying, and counting lines of code. Shows dependency management between recipes. ```makefile # Build the project build: cc main.c foo.c bar.c -o main # Run tests (depends on build, ensures compilation first) test: build ./test # Deploy to production (depends on test, ensures tests pass) deploy: test ./deploy.sh # Count lines of code sloc: @echo "`wc -l *.c` lines of code" ``` -------------------------------- ### Install Whisper.cpp using x-cmd Source: https://www.x-cmd.com/install/whispercpp Installs the whispercpp package using the x-cmd package manager. This is a quick way to get started. ```shell x install whispercpp ``` -------------------------------- ### Install Sonobuoy using x-cmd Source: https://www.x-cmd.com/install/sonobuoy Installs the Sonobuoy tool using the x-cmd package manager. This is a quick way to get started. ```bash x install sonobuoy ``` -------------------------------- ### Install and Launch Dry Source: https://www.x-cmd.com/pkg/dry Installs 'dry' using 'x env' and then launches the management interface. Also shows how to view help information. ```shell x env use dry dry dry -h ``` -------------------------------- ### Install pageres-cli using x-cmd Source: https://www.x-cmd.com/install/pageres-cli Installs the pageres-cli tool using the x-cmd package manager. This is a quick way to get started. ```sh x install pageres-cli ``` -------------------------------- ### Install shx using x pkg use Source: https://www.x-cmd.com/install/shx Demonstrates how to use the 'x pkg use' command to install the shx package. ```bash x pkg use shx ``` -------------------------------- ### Initialize mani and manage repositories Source: https://www.x-cmd.com/install/mani This sequence demonstrates the basic workflow for initializing mani, configuring repositories, and performing common operations like syncing, listing projects, executing commands, and launching the TUI. ```bash # 1. Go to your code directory and initialize mani mani init # This creates mani.yaml and .gitignore # Edit mani.yaml to add your repository configurations # 2. Batch clone/sync all repositories mani sync # 3. Check status of all projects mani list projects # 4. Run a command in all projects mani exec --all 'git status' # 5. Launch the interactive UI mani tui ``` -------------------------------- ### Install mvnd using x-cmd Source: https://www.x-cmd.com/install/mvnd Installs the mvnd tool using the x-cmd package manager. This is the primary method for getting started. ```sh x install mvnd ``` -------------------------------- ### Install Horcrux using x-cmd Source: https://www.x-cmd.com/install/horcrux Installs the Horcrux tool using the x-cmd package manager. This is a quick way to get started. ```sh x install horcrux ``` -------------------------------- ### Install Go using x-cmd Source: https://www.x-cmd.com/install/go Recommended method for installing Go using the x-cmd tool. This command simplifies environment management. ```bash x env use go ``` -------------------------------- ### Install git-cc using x-cmd Source: https://www.x-cmd.com/install/git-cc Install git-cc using the x-cmd package manager. This is a quick and easy way to get started. ```shell x install git-cc ``` -------------------------------- ### Install frp using x-cmd Source: https://www.x-cmd.com/install/frp Use the x-cmd tool to install the frp package. This is a convenient way to get started with frp. ```shell x install frp ``` -------------------------------- ### Install Flink using x-cmd Source: https://www.x-cmd.com/install/flink Install Apache Flink using the x-cmd package manager. This is a quick way to get started. ```sh x install flink ``` -------------------------------- ### Initialize All Plugins Source: https://www.x-cmd.com/mod/claude/create Use the -a or --all flag to initialize all available plugins. ```bash x claude create -a ``` ```bash x claude create --all ``` -------------------------------- ### Install elia using x-cmd Source: https://www.x-cmd.com/install/elia Installs the elia application using the x-cmd package manager. This is a quick way to get started. ```shell x install elia ``` -------------------------------- ### Install OpenClaw and run onboarding wizard Source: https://www.x-cmd.com/install/moltbot Install the latest version of OpenClaw using npm or pnpm and then run the onboarding wizard to set up the Gateway daemon. ```bash npm install -g openclaw@latest # or: pnpm add -g openclaw@latest # Run onboarding wizard openclaw onboard --install-daemon ```