Skip to content

Commit 6b31503

Browse files
authored
Update README.md
1 parent 6dd34d5 commit 6b31503

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -39,22 +39,23 @@ After a `submit` command, results are sent to Boot.dev's servers, and then webso
3939

4040
## How to add Go's bin directory to your PATH
4141

42-
When you run [go install](https://pkg.go.dev/cmd/go#hdr-Compile_and_install_packages_and_dependencies), Go installs the binary into `$HOME/go/bin` by default. Add the bin directory to your PATH by modifying your shell's configuration file. For example, if you're using bash on Ubuntu (e.g. WSL), you can run the following command to add a line to your `~/.bashrc` file:
42+
When you run [go install](https://pkg.go.dev/cmd/go#hdr-Compile_and_install_packages_and_dependencies), Go installs the binary into `$HOME/go/bin` by default. Add the bin directory to your PATH by modifying your shell's configuration file. For example, if you're using bash on Ubuntu (e.g. WSL), you can run the following commands to add a line to your `~/.bashrc` file:
4343

4444
```bash
4545
echo 'export PATH=$PATH:$HOME/go/bin' >> ~/.bashrc
46+
47+
# next, reload your shell configuration
48+
source ~/.bashrc
4649
```
4750

4851
Or if you're on Mac OS using zsh:
4952

5053
```bash
5154
echo 'export PATH=$PATH:$HOME/go/bin' >> ~/.zshrc
52-
```
53-
54-
Next, reload your shell configuration:
5555

56-
```bash
57-
source ~/.bashrc
56+
# next, reload your shell configuration
57+
source ~/.zshrc
5858
```
5959

60+
6061
Now you should be able to run the `bootdev` command (or anything else installed with `go install`) from your terminal.

0 commit comments

Comments
 (0)