Skip to content

Commit

Permalink
Add $PATH option that shouldn't require sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
dragon788 authored May 9, 2018
1 parent 96ce093 commit 025bdaf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,17 @@ include ::tfenv
```sh
$ ln -s ~/.tfenv/bin/* /usr/local/bin
```

On Ubuntu/Debian touching `/usr/local/bin` might require sudo access, but you can create `${HOME}/bin` or `${HOME}/.local/bin` and on next login it will get added to the session `$PATH`
or by running `. ${HOME}/.profile` it will get added to the current shell session's `$PATH`.

```sh
$ mkdir -p ~/.local/bin/
$ . ~/.profile
$ ln -s ~/.tfenv/bin/* ~/.local/bin
$ which tfenv
```


## Usage
### tfenv install [version]
Expand Down

0 comments on commit 025bdaf

Please sign in to comment.