lazyclone
Git clone but easier. Built as a replacement/improvement of my project, clode.
Clone a repository without the full URL:
$ lazyclone olillin/lazyclone
Cloning https://github.com/olillin/lazyclone
If GitHub CLI is installed lazyclone will detect your GitHub username:
$ lazyclone bonk
Cloning https://github.com/olillin/bonk
If there are multiple options you will be able to choose which repository to clone:
$ lazyclone lazy
[?] Select repository to clone:
> olillin/lazyclone
LazyVim/LazyVim
l123456789jy/Lazy
jesseduffield/lazygit
jesseduffield/lazydocker
aFarkas/lazysizes
You can even tell lazyvim to immediately open your favorite editor after cloning:
$ lazyclone bonk --program nvim
Cloning https://github.com/olillin/bonk
Successfully cloned into 'bonk'
Launching nvim...
See Usage for more details.
Installation
Pip
To install using pip simply run the command below:
pip install lazyclone
Nix/NixOS
lazyclone can be installed using Nix Flakes, see the section below.
Nix Flakes
Add the required inputs to your flake configuration:
flake.nix
{
description = "NixOS configuration with lazyclone";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-25.11";
lazyclone = {
url = "github:olillin/lazyclone";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
self,
nixpkgs,
...
} @ inputs: {
nixosConfigurations.yourconfiguration = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = [
./configuration.nix
];
};
};
}
Install the package in your configuration.nix or an imported module:
configuration.nix
{
pkgs,
inputs,
...
}: {
environment.systemPackages = with pkgs; [
inputs.lazyclone.packages.${pkgs.stdenv.hostPlatform.system}.default
];
}
Usage
Arguments
| Argument | Type | Description | Example value |
|---|---|---|---|
repo |
string | Name or query of the repository to clone | olillin/lazyclone |
directory |
string | Directory the repository should be cloned to | lazyclone-2 |
-h/--help |
flag | Show the help menu | |
-p/--program |
string | Program to open the cloned repository with | code |
--host |
string | URL for default git provider | https://github.com |
--ssh |
flag | Prefer SSH over HTTPS | |
--debug |
flag | Enable debug logs |
Help message
usage: lazyclone [-h] [-p PROGRAM] [--host HOST] [--ssh] [--debug]
repo [directory]
Clone Git repositories easier
positional arguments:
repo url or name of repository to clone
directory the name of a new directory to clone into
options:
-h, --help show this help message and exit
-p, --program PROGRAM
open with this program after cloning
--host HOST URL for default git host (default: https://github.com)
--ssh prefer ssh over https
--debug enable debugging output
Metadata
Release files for lazyclone 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lazyclone-0.2.1.tar.gz | 10.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lazyclone-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.9 kB
Release files / lazyclone-0.2.1.tar.gz
| Download URL | lazyclone-0.2.1.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e1e810a110078bb0c74ab055134f930232384eb0403c6a89c1f7703b15e26b86
|
|
BLAKE2b-256 checksum How to use checksums |
a93aec781853669510987303c8cb77c10ac0446f675a65e7c44eddb5cf5a8c28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 10, 2026.
Transparency logRelease files / lazyclone-0.2.1-py3-none-any.whl
| Download URL | lazyclone-0.2.1-py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e971a0f9cbb5e027a3eac96f1fbf768dac80a6372474128e3dcbd83baa4fec51
|
|
BLAKE2b-256 checksum How to use checksums |
934de91cf1d1854885fef75650b9c1bd06a5015265a3000499487944c94055c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 10, 2026.
Transparency log