8000 docs: adding `~/go/bin` to `$PATH` by fadeev · Pull Request #1198 · ignite/cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

docs: adding ~/go/bin to $PATH #1198

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion docs/intro/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,25 @@ The latest `starport` binary is downloaded from the Github repo and installed in

To install previous versions of the precompiled `starport` binary or customize the installation process, see [Starport installer docs](https://github.com/allinbits/starport-installer) on GitHub.

### Write permission
### Adding `~/go/bin` to `$PATH`

After Starport builds the chain, the resulting binary is installed in `~/go/bin`. For Starport to access the `bin` subdirectory that contains the executable binary, you must set the path to this location. To set the PATH, add the following line to your shell config file (for example, `~/.bashrc`):

```
export $PATH=~/go/bin:$PATH
```

Apply the changes for the current terminal:

```
source ~/.bashrc
```

Your path is not set correctly if you get the following error: `: exec: “appd”: executable file not found in $PATH`. Be sure to follow these steps. To use a different location and for more details, see [The GOPATH environment variable](https://golang.org/doc/gopath_code#GOPATH).



### Write Permission

Starport installation requires write permission to the `/usr/local/bin/` directory. If the installation fails because you do not have write permission to `/usr/local/bin/`, run the following command:

Expand Down
0