<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="color-scheme" content="dark light">
    <meta name="darkreader-lock">

    <!-- Don't change if you don't know how it will affect page. -->
        <title>{% trans %}Xonsh — Python-powered shell for Linux, macOS, Windows, Android{% endtrans %}</title>
        <meta name="description" content="The Xonsh shell is a Python-powered shell. Full-featured, cross-platform and AI-friendly. It works on Linux, macOS, Windows, Android, BSD.">
        <meta name="keywords" content="command shell, python shell, terminal, console, linux, macos, windows, android, raspberry pi, bash alternative, zsh alternative, fish alternative, nushell alternative, secops tools, devops tools, hacking tools, ai, llm, data science">

        <link rel="canonical" href="https://xon.sh/" />

        <link rel="alternate" type="application/rss+xml" title="Xonsh releases" href="https://github.com/xonsh/xonsh/releases.atom" />
        <link rel="alternate" type="application/atom+xml" title="Xonsh commits" href="https://github.com/xonsh/xonsh/commits/main.atom" />

        <meta name="twitter:image" content="https://xon.sh/_static/landing2/images/xonsh_landing_preview.png" />
        <meta name="twitter:site" content="https://xon.sh/" />
        <meta name="twitter:card" content="summary_large_image" />
        <meta name="twitter:title" content="The Xonsh Shell — Python-powered shell" />
        <meta name="twitter:description" content="The xonsh shell is a Python-powered shell. Full-featured, cross-platform and AI-friendly." />

        <meta property="og:image" content="https://xon.sh/_static/landing2/images/xonsh_landing_preview.png" />
        <meta property="og:image:alt" content="The Xonsh shell is a Python-powered shell. Full-featured, cross-platform and AI-friendly." />
        <meta property="og:site_name" content="The Xonsh shell" />
        <meta property="og:type" content="product" />
        <meta property="og:title" content="The Xonsh Shell — Python-powered shell." />
        <meta property="og:url" content="https://xon.sh/" />
        <meta property="og:description" content="The Xonsh shell is a Python-powered shell. Full-featured, cross-platform and AI-friendly." />

        <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://xon.sh/#org","name":"Xonsh","alternateName":["xonsh","the xonsh shell"],"url":"https://xon.sh/","logo":"https://xon.sh/_static/xonsh_terminal_icon_256.png","description":"Xonsh is a Python-powered shell. Full-featured, cross-platform and AI-friendly.","sameAs":["https://github.com/xonsh","https://github.com/xonsh/xonsh","https://mastodon.online/@xonsh","https://xonsh.zulipchat.com/","https://gitter.im/xonsh/xonsh","https://hub.docker.com/u/xonsh"]},{"@type":"SoftwareApplication","@id":"https://xon.sh/#software","name":"Xonsh","alternateName":"xonsh shell","url":"https://xon.sh/","description":"Xonsh is a Python-powered shell. Full-featured, cross-platform and AI-friendly. It works on Linux, macOS, and Windows.","applicationCategory":"DeveloperApplication","applicationSubCategory":"Shell","operatingSystem":"Linux, macOS, Windows","downloadUrl":"https://xon.sh/install.html","softwareHelp":{"@type":"CreativeWork","url":"https://xon.sh/contents.html"},"license":"https://github.com/xonsh/xonsh/blob/main/LICENSE","image":"https://xon.sh/_static/landing2/images/xonsh_landing_preview.png","screenshot":"https://xon.sh/_static/landing2/images/xonsh_landing_preview.png","offers":{"@type":"Offer","price":"0","priceCurrency":"USD"},"aggregateRating":{"@type":"AggregateRating","ratingValue":"4.9","ratingCount":"8500","bestRating":"5","worstRating":"1"},"author":{"@id":"https://xon.sh/#org"},"publisher":{"@id":"https://xon.sh/#org"}},{"@type":"SoftwareSourceCode","@id":"https://xon.sh/#sourcecode","name":"Xonsh","url":"https://github.com/xonsh/xonsh","codeRepository":"https://github.com/xonsh/xonsh","programmingLanguage":"Python","targetProduct":{"@id":"https://xon.sh/#software"}},{"@type":"WebSite","@id":"https://xon.sh/#website","url":"https://xon.sh/","name":"Xonsh","description":"Xonsh — Python-powered shell for Linux, macOS, Windows","inLanguage":"en","publisher":{"@id":"https://xon.sh/#org"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://xon.sh/search.html?q={search_term_string}"},"query-input":"required name=search_term_string"}},{"@type":"WebPage","@id":"https://xon.sh/#webpage","url":"https://xon.sh/","name":"Xonsh — Python-powered shell for Linux, macOS, Windows","isPartOf":{"@id":"https://xon.sh/#website"},"primaryImageOfPage":"https://xon.sh/_static/landing2/images/xonsh_landing_preview.png","about":{"@id":"https://xon.sh/#software"},"mentions":[{"@type":"Thing","name":"Bash","sameAs":"https://en.wikipedia.org/wiki/Bash_(Unix_shell)"},{"@type":"Thing","name":"Zsh","sameAs":"https://en.wikipedia.org/wiki/Z_shell"},{"@type":"Thing","name":"Fish","sameAs":"https://en.wikipedia.org/wiki/Fish_(Unix_shell)"},{"@type":"Thing","name":"Nushell","sameAs":"https://en.wikipedia.org/wiki/Nushell"},{"@type":"Thing","name":"PowerShell","sameAs":"https://en.wikipedia.org/wiki/PowerShell"},{"@type":"Thing","name":"Elvish","sameAs":"https://en.wikipedia.org/wiki/Elvish_(shell)"},{"@type":"Thing","name":"IPython","sameAs":"https://en.wikipedia.org/wiki/IPython"},{"@type":"Thing","name":"bpython","sameAs":"https://en.wikipedia.org/wiki/Bpython"},{"@type":"Thing","name":"ptpython","sameAs":"https://en.wikipedia.org/wiki/Ptpython"},{"@type":"Thing","name":"Windows Terminal","sameAs":"https://en.wikipedia.org/wiki/Windows_Terminal"},{"@type":"Thing","name":"iTerm2","sameAs":"https://en.wikipedia.org/wiki/ITerm2"},{"@type":"Thing","name":"Alacritty","sameAs":"https://en.wikipedia.org/wiki/Alacritty"},{"@type":"Thing","name":"Kitty","sameAs":"https://en.wikipedia.org/wiki/Kitty_(terminal_emulator)"},{"@type":"Thing","name":"Linux","sameAs":"https://en.wikipedia.org/wiki/Linux"},{"@type":"Thing","name":"macOS","sameAs":"https://en.wikipedia.org/wiki/MacOS"},{"@type":"Thing","name":"Windows","sameAs":"https://en.wikipedia.org/wiki/Microsoft_Windows"},{"@type":"Thing","name":"Arch Linux","sameAs":"https://en.wikipedia.org/wiki/Arch_Linux"},{"@type":"Thing","name":"NixOS","sameAs":"https://en.wikipedia.org/wiki/NixOS"},{"@type":"Thing","name":"Linux Mint","sameAs":"https://en.wikipedia.org/wiki/Linux_Mint"},{"@type":"Thing","name":"Asahi Linux","sameAs":"https://en.wikipedia.org/wiki/Asahi_Linux"},{"@type":"Thing","name":"Kali Linux","sameAs":"https://en.wikipedia.org/wiki/Kali_Linux"}]}]}</script>
    <!-- The end of titles section. -->

    <!-- Modern browser. -->
    <link rel="icon" type="image/svg+xml" href="_static/xonsh_terminal_icon.svg">
    <link rel="icon" type="image/png" sizes="32x32" href="_static/landing2/images/xonsh_term_icon_32x32.png">
    <link rel="icon" type="image/png" sizes="128x128" href="_static/landing2/images/xonsh_term_icon_128x128.png">
    <link rel="icon" type="image/png" sizes="256x256" href="_static/landing2/images/xonsh_term_icon_256x256.png">
    <link rel="icon" type="image/png" sizes="512x512" href="_static/landing2/images/xonsh_term_icon_512x512.png">
    <!-- Apple devices -->
    <link rel="apple-touch-icon" sizes="180x180" href="_static/landing2/images/xonsh_term_icon_180x180.png">
    <!-- Old browser. -->
    <link rel="shortcut icon" type="image/png" href="_static/landing2/images/xonsh_term_icon_256x256.png">

    <link rel="stylesheet" type="text/css" href="_static/landing2/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="_static/landing2/css/owl.css">
    <link rel="stylesheet" type="text/css" href="_static/landing2/css/magnific-popup.css">
    <link rel="stylesheet" type="text/css" href="_static/landing2/css/icofont.css">
    <link rel="stylesheet" type="text/css" href="_static/landing2/css/animate.css">
    <link rel="stylesheet" type="text/css" href="_static/landing2/css/style.css">
    <link rel="stylesheet" type="text/css" href="_static/landing2/css/responsive.css">

    <style>
        main { display: contents; }

        .code {
            background: #31363b;
            color: white;
            text-align: left;
            font-family: 'Consolas', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
            padding: 20px;
            border-radius: 10px;
        }

        [unselectable-text] {
          color: #3daee9;
        }
        [unselectable-text]::after {
          content: attr(unselectable-text);
        }

        @media (prefers-color-scheme: dark) {
            body {
                background-color: rgb(24, 26, 27);
            }
            .dark-content h2,
            .dark-content h3,
            .dark-content h4,
            .dark-content .section-heading h2 {
                color: rgb(207, 203, 197);
            }
            .dark-content,
            .dark-content p,
            .dark-content li,
            .dark-content a,
            .dark-content span,
            .dark-content .about-content,
            .dark-content .single-service {
                color: rgb(178, 172, 162);
            }
            /* 1. Keep @ prompt blue in code examples */
            .dark-content [unselectable-text] {
                color: #3daee9;
            }
            /* 2. Keep button text white */
            .dark-content .load-more-btn a {
                color: #fff;
            }
            /* 3. Code example blocks */
            .dark-content .code {
                background: #292c2e;
            }
            /* 4. Xontrib cards: transparent bg, white title, grey description */
            .dark-content .product-single {
                background-color: transparent;
            }
            .dark-content .prod-details a {
                color: rgb(214, 206, 194);
                border-color: #0725a5;
                background-color: #0725a5;
                box-shadow: 0 0 8px rgba(7, 37, 165, 0.6);
            }
            .dark-content .prod-details a:hover {
                background-color: #0725a5;
                color: #fff;
                box-shadow: 0 0 14px rgba(7, 37, 165, 0.9);
            }
            .dark-content .prod-details p {
                color: rgb(178, 172, 162);
            }
            .home-bg {
                filter: brightness(0.3);
            }
            .footer-bg {
                filter: brightness(0.3);
            }
            #footer {
                background: none !important;
            }
            .contact-bg {
                filter: brightness(0.2);
            }
            #contact-area {
                background-image: none !important;
            }
            .caption p {
                filter: brightness(0.9);
            }
            .caption a {
                filter: brightness(0.8);
            }
            .dark-content .load-more-btn a {
                filter: brightness(0.85);
            }
        }
    </style>
</head>

<body>
    <div class="preloader" style="display: none;">
        <div class="d-table">
            <div class="d-table-cell align-middle">
                <div class="spinner">
                    <div class="double-bounce1"></div>
                    <div class="double-bounce2"></div>
                </div>
            </div>
        </div>
    </div>

    <header id="header" class="">
        <div class="container">
            <nav class="navbar navbar-light navbar-expand-lg justify-content-center" aria-label="Main">
                <a class="logo" href="https://xon.sh"><img src="_static/landing2/images/logo.png" alt="logo"></a>
                <button class="navbar-toggler ml-1" type="button" data-toggle="collapse" data-target="#NavbarContent">
                    <span class="icofont-navigation-menu"></span>
                </button>
                <div class="navbar-collapse collapse justify-content-between align-items-center w-100" id="NavbarContent">
                    <ul class="navbar-nav mx-auto text-center">
                        <li class="nav-item">
                            <a class="nav-link active" href="#home-area" data-scroll-nav="0">{% trans %}Home{% endtrans %}</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="#about-area" data-scroll-nav="1">{% trans %}What is Xonsh?{% endtrans %}</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="install.html" target="_blank">{% trans %}Install{% endtrans %}</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="#product-area" data-scroll-nav="4">{% trans %}Extensions{% endtrans %}</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="contents.html" target="_blank">{% trans %}Docs{% endtrans %}</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="https://github.com/xonsh/xonsh" target="_blank">{% trans %}Code{% endtrans %}</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="https://github.com/sponsors/xonsh" target="_blank">{% trans %}Sponsor{% endtrans %}</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="https://www.hellotux.com/xonsh" target="_blank">{% trans %}Merch{% endtrans %}</a>
                        </li>
                    </ul>
                </div>
            </nav>
        </div>
    </header>

    <main>

    <section id="home-area" data-scroll-index="0" style="position: relative;">
        <div class="home-bg" style="position:absolute; inset:0; z-index:0; background-image: url(_static/landing2/images/banner-1.png); background-repeat:no-repeat; background-size:cover; background-position:left bottom;"></div>
        <div class="container" style="position:relative; z-index:1;">
            <div class="row">
                <div class="col-lg-6 col-md-5">
                    <div class="caption-img text-center d-table">
                        <div class="d-table-cell align-middle">
                            <img src="_static/landing2/images/conch_ascii_with_icon.gif" class="img-fluid" alt="" width="260px">
                        </div>
                    </div>
                </div>

                <div class="col-lg-6 col-md-7">
                    <div class="caption d-table">
                        <div class="d-table-cell align-middle" >
                            <h1 style="color:white; font-size: 30px; line-height: 40px; font-weight: 400; margin-bottom: 0;">{% trans %}<b>XONSH</b> is a Python-powered shell{% endtrans %}</h1>
                            <br>
                            <p style="font-size: 20px; font-weight: 1;">
                              {% trans -%}
                              Xonsh <span style="color:#CCC;">(sounds like "consh")</span> is a full-featured and cross-platform Python-based shell.
                              The language is a superset of Python 3 with seamless integration of shell functionality and commands.
                              It works on all major platforms, including Linux, macOS, Windows, BSD, Jupyter, Android and Raspberry Pi.
                              {%- endtrans %}
                            </p>
                            <a href="install.html" target="_blank"><i class="icofont-download"></i> {% trans %}Install{% endtrans %}</a>
                            <a href="contents.html" target="_blank"><i class="icofont-ui-note"></i> {% trans %}Docs{% endtrans %}</a>
                            <a href="https://github.com/xonsh/xonsh" target="_blank"><i class="icofont-code-alt"></i> {% trans %}Code{% endtrans %}</a>
                            <a href="https://github.com/sponsors/xonsh" target="_blank"><i class="icofont-people"></i> {% trans %}Sponsor{% endtrans %}</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <section id="about-area" class="dark-content" data-scroll-index="1">

        <div class="container text-center section-heading">
            <h2>{% trans %}What is Xonsh?{% endtrans %}</h2>
            <p>
              {% trans -%}
              Xonsh (sounds like "consh") is a Python-based shell that seamlessly extends Python with powerful command-line functionality and integration with the operating system.
              {%- endtrans %}
            </p>
        </div>

        <div class="container" style="margin-top: 30px">
            <div class="row">
                <div class="col-lg-6 col-md-7">
                    <div class="about-content">
                        <h3>{% trans %}Xonsh is the Shell{% endtrans %}</h3>
                        <p>
                          {% trans -%}
                          The xonsh language provides the shell primitives commonly found in traditional Unix shells, including interaction with standard utilities, pipelines, and input/output streams.
                          {%- endtrans %}
                        </p>
                    </div>
                </div>

                <div class="col-lg-6 col-md-5">
                    <div class="text-center">

<pre class="code" itemscope itemtype="https://schema.org/SoftwareSourceCode"><meta itemprop="programmingLanguage" content="Xonsh" /><meta itemprop="codeSampleType" content="snippet" />
<span unselectable-text="@ "></span><b>cd</b> $HOME

<span unselectable-text="@ "></span><b>id</b> <span style="color: lightgreen;">$(whoami)</span> > ~/id.txt

<span unselectable-text="@ "></span><b>cat</b> /etc/passwd | <b>grep</b> root

<span unselectable-text="@ "></span>$PROMPT = <span style="color: lightblue;">'@ '</span>
</pre>


                    </div>
                </div>
            </div>
        </div>

        <div class="container" style="margin-top: 30px">
            <div class="row">

                <div class="col-lg-6 col-md-7">
                    <div class="about-content">
                        <h3>{% trans %}Xonsh is Python{% endtrans %}</h3>

                        <p>
                          {% trans -%}
                          The xonsh language is a superset of Python 3, allowing you to execute Python code directly, install and use third-party libraries, import modules, and take advantage of the broader Python ecosystem and tooling.
                          {%- endtrans %}
                        </p>
                    </div>
                </div>

                <div class="col-lg-6 col-md-5">
                    <div class="text-center">

                        <pre class="code" itemscope itemtype="https://schema.org/SoftwareSourceCode"><meta itemprop="programmingLanguage" content="Xonsh" /><meta itemprop="codeSampleType" content="snippet" />
<span unselectable-text="@ "></span>2 + 2

<span unselectable-text="@ "></span>var = <span style="color: lightblue;">"hello"</span>.upper()

<span unselectable-text="@ "></span><b>import</b> json; json.loads(<span style="color: lightblue;">'{"a":1}'</span>)

<span unselectable-text="@ "></span>[i <b>for</b> i <b>in</b> range(0,10)]
</pre>


                    </div>
                </div>


            </div>
        </div>

        <div class="container" style="margin-top: 30px">
            <div class="row">
                <div class="col-lg-6 col-md-7">
                    <div class="about-content">
                        <h3>{% trans %}Xonsh is the Shell in Python{% endtrans %}</h3>

                        <p>
                          {% trans -%}
                          Xonsh provides a unified environment where shell functionality and Python code work together naturally.
                          {%- endtrans %}
                        </p>
                    </div>
                </div>

                <div class="col-lg-6 col-md-5">
                    <div class="text-center">

                        <pre class="code" itemscope itemtype="https://schema.org/SoftwareSourceCode"><meta itemprop="programmingLanguage" content="Xonsh" /><meta itemprop="codeSampleType" content="snippet" />
<span unselectable-text="@ "></span><b>len</b>(<span style="color: lightgreen;">$(curl -L https://xon.sh)</span>)

<span unselectable-text="@ "></span>$PATH.append(<span style="color: lightblue;">'/tmp'</span>)

<span unselectable-text="@ "></span>p<span style="color: lightblue;">'/etc/passwd'</span>.read_text().find(<span style="color: lightblue;">'usr'</span>)

<span unselectable-text="@ "></span>id = <span style="color: lightgreen;">$(<span style="color: lightsalmon;">@json</span> podman ps --format json)</span>[<span style="color: lightblue;">'ID'</span>]
<span unselectable-text="  "></span>cfg = <span style="color: lightgreen;">$(<span style="color: lightsalmon;">@yaml</span> cat config.yaml)</span>

<span unselectable-text="@ "></span><b>@</b>.imp.pathlib.Path(<span style="color: lightblue;">'~/bin'</span>).exists()
</pre>


                    </div>
                </div>

            </div>
        </div>

        <div class="container" style="margin-top: 30px">
            <div class="row">


                <div class="col-lg-6 col-md-7">
                    <div class="about-content">
                        <h3>{% trans %}Xonsh is Python in the Shell{% endtrans %}</h3>

                        <p>
                          {% trans -%}
                          Xonsh shell session builtins allow xonsh to function as a fully featured shell, tightly integrated with the operating system and its environment.
                          {%- endtrans %}
                        </p>
                    </div>
                </div>

                <div class="col-lg-6 col-md-5">
                    <div class="text-center">

<pre class="code" itemscope itemtype="https://schema.org/SoftwareSourceCode"><meta itemprop="programmingLanguage" content="Xonsh" /><meta itemprop="codeSampleType" content="snippet" />
<span unselectable-text="@ "></span>name = <span style="color: lightblue;">'snail'</span>
<span unselectable-text="  "></span><b>echo</b> <span style="color: lightsalmon;">@(name)</span> > /tmp/<span style="color: lightsalmon;">@(name)</span>

<span unselectable-text="@ "></span><b>with</b> p<span style="color: lightblue;">'/tmp/dir'</span>.mkdir().cd():
<span unselectable-text="  "></span>    <b>touch</b> <span style="color: lightsalmon;">@(input(<span style="color: lightblue;">'Create file: '</span>))</span>

<span unselectable-text="@ "></span>aliases[<span style="color: lightblue;">'e'</span>] = <span style="color: lightblue;">'echo @(2+2)'</span>
<span unselectable-text="  "></span>aliases[<span style="color: lightblue;">'a'</span>] = <b>lambda</b> args: <b>print</b>(args)
</pre>


                    </div>
                </div>

            </div>
        </div>

        <div class="container" style="margin-top: 30px">
          <div class="row">
            <div class="col-lg-6 col-md-7">
              <div class="about-content">
                <h3>{% trans %}Xonsh is a Meta-Shell{% endtrans %}</h3>
                <p>
                  {% trans -%}
                  Xonsh can orchestrate and unify other shells and tools, allowing you to combine external programs into a single programmable environment.
                  {%- endtrans %}
                </p>
              </div>
            </div>

    <div class="col-lg-6 col-md-5">
      <div class="text-center">
        <pre class="code" itemscope itemtype="https://schema.org/SoftwareSourceCode"><meta itemprop="programmingLanguage" content="Xonsh" /><meta itemprop="codeSampleType" content="snippet" />
<span unselectable-text="@ "></span><b>xontrib</b> load sh \
<span unselectable-text="  "></span>             fish_completer

<span unselectable-text="@ "></span><b>osqueryi <span style="color: lightsalmon;">!</span></b> <span style="color: lightblue;">SELECT</span> platform <span style="color: lightblue;">FROM</span> os_version

<span unselectable-text="@ "></span><b>def</b> nudf(cmd):
<span unselectable-text="  "></span>    <b>return</b> <b>@</b>.imp.pandas.DataFrame(
<span unselectable-text="  "></span>      <span style="color: lightgreen;">$(<span style="color: lightsalmon;">@json</span> nu -c <span style="color: lightsalmon;">@(cmd + <span style="color: lightblue;">'| to json'</span>)</span>)</span>)

<span unselectable-text="  "></span>nudf!(<span style="color: lightgreen;">ls -la</span>)

<span unselectable-text="@ "></span>aliases[<span style="color: lightblue;">'ai'</span>] = <span style="color: lightblue;">'ollama run llama3'</span>
<span unselectable-text="  "></span><b>ai!</b> command to remove images from podman
</pre>
          </div>
        </div>
      </div>
    </div>

<div class="container" style="margin-top: 30px">
  <div class="row">
    <div class="col-lg-6 col-md-7">
      <div class="about-content">
        <h3>{% trans %}Xonsh is an Ecosystem{% endtrans %}</h3>
        <p>
          {% trans -%}
          Xonsh extends beyond a shell through xontribs — community-driven plugins that integrate frameworks, developer tools, AI assistants, themes, and system features into a cohesive ecosystem.
          {%- endtrans %}
        </p>
      </div>
    </div>

    <div class="col-lg-6 col-md-5">
      <div class="text-center">
        <pre class="code" itemscope itemtype="https://schema.org/SoftwareSourceCode"><meta itemprop="programmingLanguage" content="Xonsh" /><meta itemprop="codeSampleType" content="snippet" />
<span unselectable-text="@ "></span><b>xontrib</b> load term_integration \
<span unselectable-text="  "></span>             prompt_starship  \
<span unselectable-text="  "></span>             powerline        \
<span unselectable-text="  "></span>             dracula          \
<span unselectable-text="  "></span>             chatgpt          \
<span unselectable-text="  "></span>             django           \
<span unselectable-text="  "></span>             jupyter          \
<span unselectable-text="  "></span>             1password        \
<span unselectable-text="  "></span>             github_copilot   \
<span unselectable-text="  "></span>             history_encrypt
</pre>
      </div>
    </div>
  </div>
</div>

<div class="container" style="margin-top: 30px">
  <div class="row">
    <div class="col-lg-6 col-md-7">
      <div class="about-content">
        <h3>{% trans %}Xonsh is Everywhere{% endtrans %}</h3>
        <p>
          {% trans -%}
          Xonsh is designed to adapt seamlessly to any platform, enabling the same workflows to run seamlessly across macOS, Linux, Windows, so scripts, aliases, and tools behave consistently across different environments and package managers.
          {%- endtrans %}
        </p>
      </div>
    </div>

    <div class="col-lg-6 col-md-5">
      <div class="text-center">
        <pre class="code" itemscope itemtype="https://schema.org/SoftwareSourceCode"><meta itemprop="programmingLanguage" content="Xonsh" /><meta itemprop="codeSampleType" content="snippet" />
<span unselectable-text="@ "></span>$PATH
<span unselectable-text="  "></span><span style="color: lightgrey;">['/bin', '/sbin']            # Linux</span>
<span unselectable-text="  "></span><span style="color: lightgrey;">['/homebrew/bin']            # macOS</span>
<span unselectable-text="  "></span><span style="color: lightgrey;">['/usr/local/bin']           # FreeBSD</span>
<span unselectable-text="  "></span><span style="color: lightgrey;">['/mnt/c/Windows/System32']  # WSL</span>
<span unselectable-text="  "></span><span style="color: lightgrey;">[r'c:\Windows\System32']     # Windows</span>
<span unselectable-text="  "></span><span style="color: lightgrey;">['/nix/store/0_-python/bin'] # Nix</span>
<span unselectable-text="  "></span><span style="color: lightgrey;">['/data/com.termux/usr/bin'] # Termux</span>
<span unselectable-text="  "></span><span style="color: lightgrey;">['/tmp/.mount_x/usr/bin']    # AppImage</span>
<span unselectable-text="  "></span><span style="color: lightgrey;">['/app/bin']                 # Flatpak</span>
<span unselectable-text="@ "></span>$PATH = [<span style="color: lightblue;">'/my/own/path'</span>]
</pre>
      </div>
    </div>
  </div>
</div>


            <div class="col-lg-12">
                <div class="load-more-btn text-center">
                    <a href="contents.html" target="_blank"><i class="icofont-ui-note"></i> {% trans %}Learn more →{% endtrans %}</a>
                </div>
            </div>
    </section>


    <section id="product-area" class="dark-content" data-scroll-index="4">
        <div class="container">
            <div class="row">
                <div class="col-lg-6 offset-lg-3 col-md-8 offset-md-2">
                    <div class="section-heading text-center">
                        <h2>{% trans %}Extensions{% endtrans %}</h2>
                        <p>
                          {% trans -%}
                          Extensions in the Xonsh ecosystem are called xontribs (short for “contributions”) — a set of tools and conventions for extending the functionality of xonsh.
                          {%- endtrans %}
                        </p>
                    </div>
                </div>
            </div>
            <div class="row" id="github_xontribs">
                <div class="col-lg-3 col-md-6">
                    <div class="product-single text-center">
                        <div class="prod-details">
                            <p>
                            <a href="https://github.com/anki-code/xontrib-pipeliner" target="_blank">pipeliner</a>
                            </p>
                            <p>
                              {% trans -%}
                              Let your pipe lines from the standard output flow thru the Python code in the xonsh shell.
                              {%- endtrans %}
                            </p>
                        </div>
                    </div>
                </div>

                <div class="col-lg-3 col-md-6">
                    <div class="product-single text-center">
                        <div class="prod-details">
                            <p>
                            <a href="https://github.com/anki-code/xontrib-output-search" target="_blank">output-search</a>
                            </p>
                            <p>
                              {% trans -%}
                              Get identifiers, paths, URLs and words from the previous command output and use them for the next command in the xonsh shell.
                              {%- endtrans %}
                            </p>
                        </div>
                    </div>
                </div>

                <div class="col-lg-3 col-md-6">
                    <div class="product-single text-center">
                        <div class="prod-details">
                            <p>
                            <a href="https://github.com/anki-code/xontrib-back2dir" target="_blank">back2dir</a>
                            </p>
                            <p>
                              {% trans -%}
                              Return to the most recently used directory when starting the xonsh shell.
                              {%- endtrans %}
                            </p>
                        </div>
                    </div>
                </div>

                <div class="col-lg-3 col-md-6">
                    <div class="product-single text-center">
                        <div class="prod-details">
                            <p>
                            <a href="https://github.com/anki-code/xontrib-argcomplete" target="_blank">argcomplete</a>
                            </p>
                            <p>
                              {% trans -%}
                              Argcomplete support to tab completion of python and xonsh scripts in the xonsh shell.
                              {%- endtrans %}
                            </p>
                        </div>
                    </div>
                </div>

            </div>

            <div class="row" id="github_xontribs_api">
            </div>

            <div class="col-lg-12">
                <div class="load-more-btn text-center">
                    <a href="https://github.com/topics/xontrib" target="_blank"><i class="icofont-download"></i> {% trans %}More xontribs →{% endtrans %}</a>
                </div>
            </div>

        </div>
    </section>


    <section id="contact-area" style="position: relative;">
        <div class="contact-bg" style="position:absolute; inset:0; z-index:0; background-image:url(_static/landing2/images/banner-2.png); background-repeat:no-repeat; background-size:cover;"></div>
        <div class="container" style="position:relative; z-index:1;">
        </div>
    </section>

    </main>

    <footer id="footer" style="position: relative;">
        <div class="footer-bg" style="position:absolute; inset:0; z-index:0; background:linear-gradient(-90deg, #0985f9 0%, #6809dc 100%);"></div>
        <div class="container" style="position:relative; z-index:1;">
            <div class="container text-white" >
                <div class="row footer_inner ">
                    <div class="col-lg-3 col-sm-6 ">
                            <div class="f_title">
                                <h4>{% trans %}Xonsh{% endtrans %}</h4>
                            </div>
                        <p>
                            <a href="https://xon.sh/" target="_blank">{% trans %}Xonsh Website{% endtrans %}</a>
                        </p>
                        <p>
                            <a href="contents.html" target="_blank">{% trans %}Xonsh Documentation{% endtrans %}</a>
                        </p>
                        <p>
                            <a href="https://github.com/xonsh/xonsh/releases" target="_blank">{% trans %}Xonsh Releases{% endtrans %}</a>
                        </p>
                        <p>
                            <a href="https://hub.docker.com/u/xonsh" target="_blank">{% trans %}Xonsh Docker Hub{% endtrans %}</a>
                        </p>
                        <p>
                            <a href="https://github.com/xonsh/xonsh/issues" target="_blank">{% trans %}Xonsh Issue Tracker{% endtrans %}</a>
                        </p>
                    </div>
                    <div class="col-lg-3 col-sm-6">
                        <div class="f_title">
                            <h4>{% trans %}Community{% endtrans %}</h4>
                        </div>
                        <p>
                            <a href="https://xonsh.zulipchat.com/join/hbvue5rimpdkwkdjuiqfs7tv/" target="_blank">{% trans %}Xonsh Community{% endtrans %}</a>
                        </p>
                        <p>
                            <a href="https://github.com/xonsh/xonsh/discussions" target="_blank">{% trans %}Xonsh Discussions{% endtrans %}</a>
                        </p>
                        <p>
                            <a href="https://mastodon.online/@xonsh" target="_blank">{% trans %}Xonsh Fediverse{% endtrans %}</a>
                        </p>
                        <p>
                            <a href="https://matrix.to/#/#xonsh:matrix.org" target="_blank">{% trans %}Xonsh Matrix{% endtrans %}</a>
                        </p>
                        <p>
                            <a href="https://www.hellotux.com/xonsh" target="_blank">{% trans %}Xonsh Merch{% endtrans %}</a>
                        </p>
                    </div>
                    <div class="col-lg-3 col-sm-6">
                        <div class="f_title">
                            <h4>{% trans %}Extensions{% endtrans %}</h4>
                        </div>
                        <p>
                            <a href="https://github.com/topics/xontrib" target="_blank">{% trans %}Github Xontribs{% endtrans %}</a>
                        </p>
                        <p>
                            <a href="https://github.com/xonsh/awesome-xontribs#awesome-xontribs" target="_blank">{% trans %}Awesome Xontribs{% endtrans %}</a>
                        </p>
                        <p>
                            <a href="xontrib.html" target="_blank">{% trans %}Xontrib Tutorial{% endtrans %}</a>
                        </p>
                        <p>
                            <a href="https://github.com/xonsh/xontrib-template" target="_blank">{% trans %}Xontrib Template{% endtrans %}</a>
                        </p>
                    </div>
                    <div class="col-lg-3 col-sm-6">
                        <div class="f_title">
                            <h4>{% trans %}Open Source{% endtrans %}</h4>
                        </div>
                        <p>
                            <a href="https://github.com/xonsh/xonsh" target="_blank">{% trans %}Xonsh Source Code{% endtrans %}</a>
                        </p>
                        <p>
                            <a href="https://github.com/xonsh/xonsh/blob/main/LICENSE" target="_blank">{% trans %}Xonsh License{% endtrans %}</a>
                        </p>
                        <p>
                            <a href="developer.html" target="_blank">{% trans %}Xonsh Developer's Guide{% endtrans %}</a>
                        </p>
                        <p>
                            <a href="https://github.com/sponsors/xonsh" target="_blank">{% trans %}Xonsh Sponsor{% endtrans %}</a>
                        </p>
                        <p>
                            <a href="https://github.com/xonsh/xonsh/blob/main/AI_POLICY.md" target="_blank">{% trans %}Xonsh AI Policy{% endtrans %}</a>
                        </p>
                    </div>
                </div>

            </div>

        </div>

    </footer>

    <script src="_static/landing2/js/jquery-3.js"></script>
    <script src="_static/landing2/js/popper.js"></script>
    <script src="_static/landing2/js/bootstrap.js"></script>
    <script src="_static/landing2/js/magnific-popup.js"></script>
    <script src="_static/landing2/js/owl.js"></script>
    <script src="_static/landing2/js/scrollIt.js"></script>
    <script src="_static/landing2/js/validator.js"></script>
    <script src="_static/landing2/js/contact.js"></script>
    <script src="_static/landing2/js/custom.js"></script>

    <script language="JavaScript">
        const code = document.querySelectorAll(".code");
        code.forEach((element) => {
            element.addEventListener("click", () => {
                let textes = element.innerText;
                navigator.clipboard.writeText(textes)
                    .then(() => {
                        alert("Code copied!");
                    })
                    .catch((error) => {
                        console.error("Code didnt copy", error);
                    })
            });
        });

        var tagsToReplace = {
            '&': '&amp;',
            '<': '&lt;',
            '>': '&gt;'
        };

        function replaceTag(tag) {
            return tagsToReplace[tag] || tag;
        }

        function safe_tags_replace(str) {
            return str.replace(/[&<>]/g, replaceTag);
        }

        function getRandomSubarray(arr, size) {
            var shuffled = arr.slice(0), i = arr.length, temp, index;
            while (i--) {
                index = Math.floor((i + 1) * Math.random());
                temp = shuffled[index];
                shuffled[index] = shuffled[i];
                shuffled[i] = temp;
            }
            return shuffled.slice(0, size);
        }

        function sentence(string) {
            string = safe_tags_replace(string)
            string = string.trim()
            string = string.charAt(0).toUpperCase() + string.slice(1);
            last_char = string.charAt(string.length-1)
            if(last_char != '.' && last_char != '!' && last_char != '?'){
                string += '.'
            }
            return string
        }

        $( "#github_xontribs_api" ).html( 'Loading xontribs list...' );
        $.get( "https://api.github.com/search/repositories?q=topic:xontrib+archived:false&sort=stars")
            .done(function( data ) {
               xontribs = ''
               getRandomSubarray(data['items'], 12).forEach(function (repo, index) {
                    xontribs += '<div class="col-lg-3 col-md-6"><div class="product-single text-center"><div class="prod-details"><p><a href="' + repo['html_url'] + '" target="_blank">'+repo['name']+'</a></p><p>' + sentence(repo['description']) + '<div class="icon"><i class="icofont-star"></i>' + repo['stargazers_count'] + '</div> </p></div></div></div>';
                });
                $( "#github_xontribs" ).hide();
                $( "#github_xontribs_api" ).html( xontribs );
            })
            .fail(function(data){
                $( "#github_xontribs_api" ).html('');
            });
    </script>
    <script data-goatcounter="https://xonsh.goatcounter.com/count"
        async src="//gc.zgo.at/count.js"></script>

</body></html>
