[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-73269":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":16,"starSnapshotCount":16,"syncStatus":15,"lastSyncTime":30,"discoverSource":31},73269,"bootdev","bootdotdev\u002Fbootdev","bootdotdev","CLI used to complete coding challenges and lessons on Boot.dev","https:\u002F\u002Fboot.dev",null,"Go",2600,104,21,2,0,5,18,69,15,28.06,"MIT License",false,"main",true,[],"2026-06-12 02:03:11","\u003Cp align=\"center\">\n  \u003Cimg\n    src=\"https:\u002F\u002Fstorage.googleapis.com\u002Fqvault-webapp-dynamic-assets\u002Fcourse_assets\u002Fwvnt9yl-800x370.png\"\n    alt=\"Boot.dev logo\"\n    style=\"width: 500px\"\n  \u002F>\n\u003C\u002Fp>\n\n# Boot.dev CLI\n\nThis is the official command line tool for [Boot.dev](https:\u002F\u002Fwww.boot.dev\u002F). It allows you to submit lessons and do other such nonsense.\n\n⭐ Hit the repo with a star if you're enjoying Boot.dev ⭐\n\n## Table of Contents\n\n- [Installation](#installation)\n  - [1. Install Go](#1-install-go)\n  - [2. Install the Boot.dev CLI](#2-install-the-bootdev-cli)\n  - [3. Login to the CLI](#3-login-to-the-cli)\n- [Configuration](#configuration)\n  - [Base URL for HTTP tests](#base-url-for-http-tests)\n  - [CLI colors](#cli-colors)\n  - [Troubleshooting the Config](#troubleshooting-the-config)\n- [Upgrading](#upgrading)\n  - [Troubleshooting Upgrading](#troubleshooting-upgrading)\n\n## Installation\n\n### 1. Install Go\n\nTo use the Boot.dev CLI, you need an up-to-date Golang toolchain installed on your system.\n\nPlease note, the overwhelming majority of our courses that use this CLI are designed to be completed on Linux or macOS – or on Linux-in-Windows via WSL. If you're on Windows, _usually_ what you'll want is to go into WSL and follow Linux installation instructions. However, we now have [at least one course](https:\u002F\u002Fwww.boot.dev\u002Fcourses\u002Flearn-data-visualization-power-bi) that is Windows-native. So there are also Windows\u002FPowerShell installation instructions below. Just be aware of which platform you're actually using!\n\nThere are two main installation methods that we recommend:\n\n**Option 1 (Linux\u002FWSL\u002FmacOS):** The [Webi installer](https:\u002F\u002Fwebinstall.dev\u002Fgolang\u002F) is the simplest way for most people. Just run this in your terminal:\n\n```sh\ncurl -sS https:\u002F\u002Fwebi.sh\u002Fgolang | sh\n```\n\n_Read the output of the command and follow any instructions._\n\n**Option 2 (any platform, including Windows\u002FPowerShell):** Use the [official Golang installation instructions](https:\u002F\u002Fgo.dev\u002Fdoc\u002Finstall). On Windows, this means downloading and running a `.msi` installer package; the rest should be taken care of automatically.\n\nAfter installing Golang, _open a new shell session_ and run `go version` to make sure everything works. If it does, _move on to step 2_.\n\n**Optional troubleshooting:**\n\n- If you already had Go installed with Webi, you should be able to run the same Webi command to update it.\n- If you already had a version of Go installed a different way, on Linux\u002FmacOS you can run `which go` to find out where it's installed, and (if needed) remove the old version manually. (In PowerShell on Windows, the equivalent is `Get-Command go`.)\n- If you're getting a \"command not found\" error after installation, it's most likely because the directory containing the `go` program isn't in your [`PATH`](https:\u002F\u002Fopensource.com\u002Farticle\u002F17\u002F6\u002Fset-path-linux). You need to add the directory to your `PATH` by modifying your shell's configuration file. First, you need to know _where_ the `go` command was installed. It might be in:\n  - `~\u002F.local\u002Fopt\u002Fgo\u002Fbin` (Webi)\n  - `\u002Fusr\u002Flocal\u002Fgo\u002Fbin` (official installation)\n  - Somewhere else?\n\n  You can ensure that the program exists by attempting to run `go` using its full filepath. For example, if you think it's in `~\u002F.local\u002Fopt\u002Fgo\u002Fbin`, you can run `~\u002F.local\u002Fopt\u002Fgo\u002Fbin\u002Fgo version`. If that works, then you just need to add `~\u002F.local\u002Fopt\u002Fgo\u002Fbin` to your `PATH` and reload your shell:\n\n  ```sh\n  # For Linux\u002FWSL\n  echo 'export PATH=$PATH:$HOME\u002F.local\u002Fopt\u002Fgo\u002Fbin' >> ~\u002F.bashrc\n  # Next, reload your shell configuration\n  source ~\u002F.bashrc\n  ```\n\n  ```sh\n  # For macOS\n  echo 'export PATH=$PATH:$HOME\u002F.local\u002Fopt\u002Fgo\u002Fbin' >> ~\u002F.zshrc\n  # Next, reload your shell configuration\n  source ~\u002F.zshrc\n  ```\n\n  ```sh\n  # For fish\n  fish_add_path $HOME\u002F.local\u002Fopt\u002Fgo\u002Fbin\n  ```\n\n### 2. Install the Boot.dev CLI\n\nThe following command will download, build, and install the `bootdev` command into your Go toolchain's `bin` directory. Go ahead and run it:\n\n```sh\ngo install github.com\u002Fbootdotdev\u002Fbootdev@latest\n```\n\nRun `bootdev --version` on your command line to make sure the installation worked. If it did, _move on to step 3_.\n\n**Optional troubleshooting:**\n\nIf you're getting a \"command not found\" error for `bootdev help`, it's most likely because the directory containing the `bootdev` program isn't in your [`PATH`](https:\u002F\u002Fopensource.com\u002Farticle\u002F17\u002F6\u002Fset-path-linux). You need to add the directory to your `PATH` by modifying your shell's configuration file. You probably need to add `$HOME\u002Fgo\u002Fbin` (the default `GOBIN` directory where `go` installs programs) to your `PATH`:\n\n```sh\n# For Linux\u002FWSL\necho 'export PATH=$PATH:$HOME\u002Fgo\u002Fbin' >> ~\u002F.bashrc\n# Next, reload your shell configuration\nsource ~\u002F.bashrc\n```\n\n```sh\n# For macOS\necho 'export PATH=$PATH:$HOME\u002Fgo\u002Fbin' >> ~\u002F.zshrc\n# Next, reload your shell configuration\nsource ~\u002F.zshrc\n```\n\n```sh\n# For fish\nfish_add_path $HOME\u002Fgo\u002Fbin\n```\n\n### 3. Login to the CLI\n\nRun `bootdev login` to authenticate with your Boot.dev account. After authenticating, you're ready to go!\n\n## Configuration\n\nThe Boot.dev CLI offers a couple of configuration options that are stored in a config file (default is `~\u002F.bootdev.yaml`, or `$XDG_CONFIG_HOME\u002Fbootdev\u002Fconfig.yaml` if `XDG_CONFIG_HOME` is set).\n\nAll commands have `-h`\u002F`--help` flags if you want to see available options on the command line.\n\n### Base URL for HTTP tests\n\nFor lessons with HTTP tests, you can configure the CLI with a base URL that overrides any lesson's default. A common use case for that is when you want to run your server on a port other than the one specified in the lesson.\n\n- To set the base URL, run:\n\n  ```sh\n  bootdev config base_url \u003Curl>\n  ```\n\n  _Make sure you include the protocol scheme (`http:\u002F\u002F`) in the URL._\n\n- To get the current base URL (the default is an empty string), run:\n\n  ```sh\n  bootdev config base_url\n  ```\n\n- To reset the base URL and revert to using the lessons' defaults, run:\n\n  ```sh\n  bootdev config base_url --reset\n  ```\n\n### CLI colors\n\nThe CLI text output is rendered with extra colors: green (e.g., success messages), red (e.g., error messages), and gray (e.g., secondary text).\n\n- To customize these colors, run:\n\n  ```sh\n  bootdev config colors --red \u003Cvalue> --green \u003Cvalue> --gray \u003Cvalue>\n  ```\n\n  _You can use an [ANSI color code](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FANSI_escape_code#8-bit) or a hex string as the `\u003Cvalue>`._\n\n- To get the current colors, run:\n\n  ```sh\n  bootdev config colors\n  ```\n\n- To reset the colors to their default values, run:\n\n  ```sh\n  bootdev config colors --reset\n  ```\n\n### Troubleshooting the Config\n\nIf you want to undo changes to your configuration, simply remove it to reset it completely. The CLI will automatically create a fresh config file in the original location. Then login again.\n\n## Upgrading\n\nIf you just installed the CLI, it's already upgraded!\n\nThe Boot.dev CLI is regularly updated to enhance and expand its features and integration with the web app.\n\nThe CLI automatically detects new versions and will require you to upgrade it before submitting or logging in.\n\nTo upgrade, run:\n\n```sh\nbootdev upgrade\n```\n\nor use `go install` with the [latest tagged version](https:\u002F\u002Fgithub.com\u002Fbootdotdev\u002Fbootdev\u002Ftags):\n\n```sh\ngo install github.com\u002Fbootdotdev\u002Fbootdev@v1.XX.X\n```\n\n### Troubleshooting Upgrading\n\n#### Bypass the proxy\n\nIf you keep getting the same upgrade message, you may be pulling from an old cache.\n\n```sh\nGOPROXY=direct go install github.com\u002Fbootdotdev\u002Fbootdev@v1.XX.X\n```\n\n#### Reinstall\n\nIf that doesn't work, try a fresh install:\n\n1. Locate the binary file:\n\n   ```sh\n   which bootdev\n   ```\n\n2. Carefully remove the binary file after confirming the path is correct:\n\n   ```sh\n   rm \"$(which bootdev)\"\n   ```\n\n3. Confirm the binary is gone. It could be installed in multiple locations.\n\n   ```sh\n   which bootdev\n   ```\n\n4. Clean install\n\n   Repeat the steps you used to install the CLI. See [Installation](#installation). Then login again.\n","Boot.dev CLI 是一个命令行工具，用于在 Boot.dev 平台上完成编程挑战和课程。其核心功能包括提交课程作业以及进行其他相关操作，采用 Go 语言编写，确保了高性能与简洁性。该工具支持自定义配置如 HTTP 测试的基础 URL 和 CLI 颜色设置，便于用户根据自身需求调整。主要适用于希望在 Linux、macOS 或 Windows（通过 WSL）环境中通过命令行方式学习编程的开发者或学生，特别适合于跟随 Boot.dev 提供的各种在线编程教程的学习过程。","2026-06-11 03:44:46","high_star"]