Skip to content
moqsien edited this page Jan 31, 2024 · 39 revisions

Welcome to the gvc wiki!

中文介绍

GVC stands for Geek's Valuable Collection or Geek's Valueless Crap, whatever you appreciate.

I was so tired of telling my chinese folks what-gvc-is in 2023. Most of the people were just so lazy to visit gvc-home and go through the Readme. Neither should anyone expect them to give gvc a real shot.

Now, here are some FAQs:

  1. Q: What's gvc?

    A: A cli tool. A supertool. A tool that helps you with your coding job.

  2. Q: Who will find gvc fantastic?

    A: Someone who works with different versions of compilers/vms, someone who wants to keep the versions updated, someone frequently reinstalls the OS, and someone who works on different machines.

  3. Q: How to use gvc?

    A: Just follow the "-h" or "--help" info.

  4. Q: Why doesn't it follow the "Keep It Simple Stupid" rule?

    A: You know, gvc is not a tool integrated into a certain OS. What gvc is trying to do is to bring things handy for your coding environment. Sure it will make you feel much of the convinience when you could finish the job in just one application.

  5. Q: Where can I get gvc and how to install?

    A: Github only. See release page. Windows/MacOS/Linux are supported. For installation, run the binary file without any args.

  6. Q: Why not using docker to manage versions of compilers or vms?

    A: To keep it lightweight. Those who keep their versions using docker now can save much disk usage.

  7. Q: Where does gvc put all the applications?

    A: See version.

  8. Q: How can I get a private access token for github/gitee?

    A: See config.

Command list from help info of gvc:

moqsien@moqsiendeiMac ~ % g -h
g <Command> <SubCommand> --flags args...

Usage:
   [command]

Command list:
  asciinema     Asciinema related CLIs(terminal recorder).
  brew          Homebrew accelerations in China.
  browser       Manages data for different browsers.
  check         Checks and downloads the latest version of GVC.
  cloc          Counts lines of code.
  config        Configurations.
  cpp           Cpp related CLIs.
  docker        Docker related CLIs.
  flutter       Flutter related CLIs.
  git           Git related CLIs(especially with a proxy).
  github        Github related CLIs.
  go            Golang related CLIs.
  gpt           Starts the ChatGPT/Spark bot.
  gsudo-install Installs gsudo for windows.
  java          Java related CLIs.
  julia         Julia related CLIs.
  neobox        NeoBox related CLIs.
  nodejs        NodeJS related CLIs.
  nvim          Installs neovim.
  pic-repo      Uses github/gitee as picture repositary, especially for markdown.
  python        Python related CLIs.
  rust          Rust related CLIs.
  typst         typst related CLIs.
  uninstall     Uninstall gvc and Remove all the Apps installed by GVC.
  version       Shows installation info about GVC.
  vlang         Vlang related CLIs.
  vscode        Installs vscode, extensions, etc.
  zig           Zig related CLIs.

Additional Commands:
  completion    Generate the autocompletion script for the specified shell
  help          Help about any command

Flags:
  -h, --help   help for this command

Use " [command] --help" for more information about a command.

Commands for details: