Skip to content

Commit 779285d

Browse files
authored
Remove chmod from install docs.
chmod +x is not needed because nuget.exe is never executed directly because of the alias to use the mono executable.
1 parent bb6924f commit 779285d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/includes/install-cli.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ Behaviors may vary slightly by OS distribution.
1515
```bash
1616
# Download the latest stable `nuget.exe` to `/usr/local/bin`
1717
sudo curl -o /usr/local/bin/nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
18-
# Give the file permissions to execute
19-
sudo chmod 755 /usr/local/bin/nuget.exe
2018
```
2119

2220
1. Create an alias by adding the following script to the appropriate file for your OS (typically `~/.bash_aliases` or `~/.bash_profile`):
@@ -26,4 +24,4 @@ Behaviors may vary slightly by OS distribution.
2624
alias nuget="mono /usr/local/bin/nuget.exe"
2725
```
2826

29-
1. Reload the shell. Test the installation by entering `nuget` with no parameters. NuGet CLI help should display.
27+
1. Reload the shell. Test the installation by entering `nuget` with no parameters. NuGet CLI help should display.

0 commit comments

Comments
 (0)