{"id":21207602,"url":"https://github.com/miracleyoo/one-key-linux-setup","last_synced_at":"2025-07-10T09:30:29.660Z","repository":{"id":50287257,"uuid":"209439516","full_name":"miracleyoo/one-key-linux-setup","owner":"miracleyoo","description":"Scripts which aims to initialize and configure a linux system quickly. Mainly include update, zsh, oh-my-zsh, zsh plugins, python, and so on. Continue to update and welcome issues.","archived":false,"fork":false,"pushed_at":"2024-11-17T23:15:37.000Z","size":80,"stargazers_count":18,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-18T00:26:37.268Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/miracleyoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-19T01:52:28.000Z","updated_at":"2024-11-17T23:15:40.000Z","dependencies_parsed_at":"2024-01-03T04:15:35.894Z","dependency_job_id":"2d376423-59b7-4580-a38b-e41a9be2c1aa","html_url":"https://github.com/miracleyoo/one-key-linux-setup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miracleyoo%2Fone-key-linux-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miracleyoo%2Fone-key-linux-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miracleyoo%2Fone-key-linux-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miracleyoo%2Fone-key-linux-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miracleyoo","download_url":"https://codeload.github.com/miracleyoo/one-key-linux-setup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225629781,"owners_count":17499295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T20:59:12.442Z","updated_at":"2024-11-20T20:59:14.059Z","avatar_url":"https://github.com/miracleyoo.png","language":"Shell","funding_links":[],"categories":["Tutorials"],"sub_categories":["Oh-My-Zsh"],"readme":"# One-key Linux Setup\r\n\r\n## Overview\r\n\r\nThis project aims to conveniently setup and deploy a Linux environment which is easy to use and help install many useful packages. It mainly have the ability to deploy zsh with a set of handy plugins, and a spacevim, which is my favorite vim distro. You will not encounter messy installation problems and the script is tested on ubuntu and WSL ubuntu. \r\n\r\nCurrently, it only support Ubuntu system, but the support of centos is also on the way, maybe also the MacOS version.\r\n\r\nIt is highly customizable and elegantly wrote, you can folk and customize your own version based on it!\r\n\r\n## Usage\r\n\r\n### Method  1\r\n\r\n1. Make sure you already have curl installed by \"sudo apt-get install curl\".\r\n\r\n2. Use command `curl -fsSL https://raw.githubusercontent.com/miracleyoo/one-key-linux-setup/master/one-key-linux-setup.sh -o one-key-linux-setup.sh \u0026\u0026 one-key-linux-setup.sh`\r\n   1. For docker/k8s Linux system setup (Assuming your base image is `pytorch/pytorch:2.0.0-cuda11.7-cudnn8-devel`):\r\n      `curl -fsSL https://raw.githubusercontent.com/miracleyoo/one-key-linux-setup/master/one-key-setup-for-pytorch-docker.sh -o one-key-setup-for-pytorch-docker.sh \u0026\u0026 bash one-key-setup-for-pytorch-docker.sh \u0026\u0026 rm one-key-setup-for-pytorch-docker.sh`\r\n   2. For a brand-new Linux machine: `curl -fsSL https://raw.githubusercontent.com/miracleyoo/one-key-linux-setup/master/oks-full.sh -o oks-full.sh \u0026\u0026 sudo bash oks-full.sh \u0026\u0026 rm oks-full.sh`\r\n   3. legacy: `curl -fsSL https://raw.githubusercontent.com/miracleyoo/one-key-linux-setup/master/one-key-linux-setup.sh -o one-key-linux-setup.sh \u0026\u0026 sudo bash one-key-linux-setup.sh`\r\n\r\n4. You are all set! Here is an awesome new linux!\r\n\r\n\r\n### Method 2\r\n\r\n1. Make sure you already have curl installed by \"sudo apt-get install git\".\r\n2. Clone this repo using `git clone https://github.com/miracleyoo/one-key-linux-setup`\r\n3. Switch into this folder and run `./one-key-linux-setup.sh`\r\n4. You are all set! \r\n\r\n## Content\r\n\r\n1. `apt-get install packags` like git, curl, tmux, vim, and python supports.\r\n2. A `zsh` which has plenty of handy plugins like `oh-my-zsh`, `git`, `zsh-autosuggestions`, `zsh-syntax-highlighting`, `zsh-completions` , `extract`, `z`, `cp`. They are managed with `antigen`, which made it easy and decent to mange your zsh plugins. You can get even more plugins [here](https://github.com/robbyrussell/oh-my-zsh/wiki/Plugins-Overview).\r\n3. A `.zshrc` file which contains some basic but useful functions. You can change it to your own favorite commands and alias.\r\n4. A [spacevim](https://github.com/SpaceVim/SpaceVim), which is a quite good version of vim. It initially installed several famous plugins, with a nice interface. You will find it a really vim distro as you use it. Certainly, you can change to your own version, while I've tested several distro and they all have some kinds of inconvenience, like the line number, extra space, wrong background color and so on.\r\n5.   More on the way!\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiracleyoo%2Fone-key-linux-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiracleyoo%2Fone-key-linux-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiracleyoo%2Fone-key-linux-setup/lists"}