Skip to content

Install Xonsh using uv #6

@ackalker

Description

@ackalker

I would like to share that it is possible (and very useful) to install Xonsh using uv.

Assuming that uv is available, here's how I do it:

uv tool install xonsh[full] --with pip

This allows me to install Xonsh very quickly, thanks to uv, and use xpip within Xonsh.
I would even dare to use Xonsh as a login shell, by making a simple change to the above command:

uv tool install --managed-python xonsh[full] --with pip

This instructs uv to use an uv-managed Python installation (which it downloads and installs if necessary) that is completely independent from whatever is installed on the system. This makes Xonsh immune from any breaking changes to the system's Python installation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions