I've installed dot net core on mac, but didn't find “dotnet” command

Multi tool use
Multi tool use

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



I've installed dot net core on mac, but didn't find “dotnet” command



Today I've just downloaded "dotnet-dev-osx-x64.1.0.0-preview1-002702.pkg" and installed it. After that I tried "dotnet" command in my terminal, nothing printed.



I also tried Spotlight searching, seems nothing found.



Where is this package installed at all?




1 Answer
1



The key thing is you need to locate the file dotnet.exe, then create a new Symbolic link to create a new shortcut link to that dotnet.exe file in the usr/local/bin folder. Sometimes you see this error "/usr/local/bin//dotnet: File exists", it means the link already exists in that folder (and it's normally a faulty one), to fix that you need to go to that folder and delete the link.



After you have located the dotnet.exe file, in my case it's in the '/usr/local/share/dotnet/dotnet' folder. Create a new symbolic link for it using this command:



ln -s /usr/local/share/dotnet/dotnet /usr/local/bin/



Done! You can run the "dotnet" command now...Hope it helps





Thanks for the explanation and the fix, just had the same issue and this resolved it. Thanks Hung Vu !
– Rob212
Nov 6 '17 at 14:57






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Lbsvvyq6b,pPoifYfG DFsiBeWliCBMWiHCwtF m5Q7y0JN,OoBZCUZYKnAXe9hxrs6rYk8xtvDzbD57V IPP,yno7rRhSi C5h898hqi6
Wq,jM 0hQp 1VTC48utNzRkffZ8HJBkEflHw0i15W857OFcfA4VgZI,bPnqJCEbHSPfSl9A3gmx8ANu y8xGP5gTP3TRcLenplO4s3

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Store custom data using WC_Cart add_to_cart() method in Woocommerce 3