Skip to content

Commit

Permalink
Merge pull request dotnet#827 from leecow/master
Browse files Browse the repository at this point in the history
additional tar install details
  • Loading branch information
leecow authored Aug 14, 2017
2 parents af42b7b + 00ac2d4 commit 5517b31
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions release-notes/2.0/2.0.0-known-issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,17 @@ Changes in the .NET Core CLI first run behavior need to be executed in locations
If the user does not have permissions to the dotnet directory when attempting to run a dotnet command for the first time a number of permissions errors will result.

```bash
mkdir -p ~/dotnet && tar zxf dotnet.tar.gz -C ~/dotnet
mkdir -p $HOME/dotnet && tar zxf dotnet.tar.gz -C $HOME/dotnet
export PATH=$PATH:$HOME/dotnet
```

You can edit ~/bashrc to permanantly place dotnet on the path.
The above command will place `~/dotnet` on the path only for the terminal session in which it was run. You can edit your shell profile to permanently place `~/dotnet` on the path. There are a number of different shells available for Linux and each has a different profile. For example:

* Bash Shell: ~/.bash_profile, ~/.bashrc
* Korn Shell: ~/.kshrc or .profile
* Z Shell: ~/.zshrc or .zprofile

Edit the appropriate source file for you shell and either add `:$HOME/dotnet` to the end of the exiting PATH statement or, if no PATH statment is included, add a new line with `export PATH=$PATH:$HOME/dotnet`.

More info: [dotnet/docs/issues/2790](https://github.com/dotnet/docs/issues/2790) and [dotnet/cli/issues/7203](https://github.com/dotnet/cli/issues/7203)

Expand Down

0 comments on commit 5517b31

Please sign in to comment.