brew_install_dotnet

brew install dotnet

Brew on Linux

Homebrew on Linux:

brew install dotnet =⇒ Downloading https://ghcr.io/v2/homebrew/core/libunwind/manifests/1.

  1. =#=# ##O#-# ######################################################################## 100.0%

=⇒ Downloading https://ghcr.io/v2/homebrew/core/libunwind/blobs/sha256 =⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1

  1. =#=# ######################################################################## 100.0%

=⇒ Downloading https://ghcr.io/v2/homebrew/core/numactl/manifests/2.0.

  1. =#=# ##O#-# ######################################################################## 100.0%

=⇒ Downloading https://ghcr.io/v2/homebrew/core/numactl/blobs/sha256:8 =⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1

  1. =#=# ##O#-# ######################################################################## 100.0%

=⇒ Downloading https://ghcr.io/v2/homebrew/core/userspace-rcu/manifest

  1. =#=# ###################### ######################################################################## 100.0%

=⇒ Downloading https://ghcr.io/v2/homebrew/core/userspace-rcu/blobs/sh =⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1

  1. =#=# ######################################################################## 100.0%

=⇒ Downloading https://ghcr.io/v2/homebrew/core/lttng-ust/manifests/2.

  1. =#=# ######################################################################## 100.0%

=⇒ Downloading https://ghcr.io/v2/homebrew/core/lttng-ust/blobs/sha256 =⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1

                                                                      ######################################################################## 100.0%
=⇒ Downloading https://ghcr.io/v2/homebrew/core/dotnet/manifests/6.0.1

  1. =#=# ######################################################################## 100.0%

=⇒ Downloading https://ghcr.io/v2/homebrew/core/dotnet/blobs/sha256:0e =⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1

                                                                                                                                                                                                                    
100.0%

=⇒ Installing dependencies for dotnet: libunwind, numactl, userspace-rcu and lttng-ust =⇒ Installing dotnet dependency: libunwind =⇒ Pouring libunwind–1.6.2.x86_64_linux.bottle.tar.gz 🍺 /home/linuxbrew/.linuxbrew/Cellar/libunwind/1.6.2: 42 files, 685.7KB =⇒ Installing dotnet dependency: numactl =⇒ Pouring numactl–2.0.16.x86_64_linux.bottle.tar.gz 🍺 /home/linuxbrew/.linuxbrew/Cellar/numactl/2.0.16: 26 files, 504.9KB =⇒ Installing dotnet dependency: userspace-rcu =⇒ Pouring userspace-rcu–0.13.2.x86_64_linux.bottle.tar.gz 🍺 /home/linuxbrew/.linuxbrew/Cellar/userspace-rcu/0.13.2: 223 files, 1.3MB =⇒ Installing dotnet dependency: lttng-ust =⇒ Pouring lttng-ust–2.13.5.x86_64_linux.bottle.tar.gz 🍺 /home/linuxbrew/.linuxbrew/Cellar/lttng-ust/2.13.5: 149 files, 2.0MB =⇒ Installing dotnet =⇒ Pouring dotnet–6.0.110.x86_64_linux.bottle.tar.gz =⇒ Caveats For other software to find dotnet you may need to set:

 export DOTNET_ROOT="/home/linuxbrew/.linuxbrew/opt/dotnet/libexec"

Bash completion has been installed to:

 /home/linuxbrew/.linuxbrew/etc/bash_completion.d
=⇒ Summary 🍺 /home/linuxbrew/.linuxbrew/Cellar/dotnet/6.0.110: 2,888 files, 436.6MB =⇒ Running `brew cleanup dotnet`… Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`). =⇒ Caveats =⇒ dotnet For other software to find dotnet you may need to set:
 export DOTNET_ROOT="/home/linuxbrew/.linuxbrew/opt/dotnet/libexec"

Bash completion has been installed to:

 /home/linuxbrew/.linuxbrew/etc/bash_completion.d
(base)

Brew on macOS

Homebrew on macOS

iMac ~ % brew search dotnet

=⇒ Formulae

dotnet dotbot

=⇒ Casks

dotnet

dotnet-sdk

homebrew/cask-versions/dotnet-preview

homebrew/cask-versions/dotnet-sdk-preview

iMac ~ % brew install dotnet

Warning: Treating dotnet as a formula. For the cask, use homebrew/cask/dotnet

=⇒ Downloading https://ghcr.io/v2/homebrew/core/dotnet/manifests/6.0.110

  1. 100.0%

=⇒ Downloading https://ghcr.io/v2/homebrew/core/dotnet/blobs/sha256:07dbbd1451c

=⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh

  1. 100.0%

=⇒ Pouring dotnet–6.0.110.monterey.bottle.tar.gz

=⇒ Caveats

For other software to find dotnet you may need to set:

export DOTNET_ROOT=“/usr/local/opt/dotnet/libexec”

zsh completions have been installed to:

/usr/local/share/zsh/site-functions

=⇒ Summary

🍺 /usr/local/Cellar/dotnet/6.0.110: 2,869 files, 425.2MB

=⇒ Running `brew cleanup dotnet`…

Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.

Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).


export DOTNET_ROOT=“/usr/local/opt/dotnet/libexec”

iMac ~ % dotnet

Usage: dotnet [options]

Usage: dotnet [path-to-application]

Options:

 -h|--help         Display help.
 --info            Display .NET information.
 --list-sdks       Display the installed SDKs.
 --list-runtimes   Display the installed runtimes.

path-to-application:

The path to an application .dll file to execute.

iMac ~ % dotnet --version

6.0.110

iMac ~ % dotnet help

Welcome to .NET 6.0!


SDK Version: 6.0.110

Telemetry


The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.

Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry


Installed an ASP.NET Core HTTPS development certificate. To trust the certificate run 'dotnet dev-certs https –trust' (Windows and macOS only). Learn about HTTPS: https://aka.ms/dotnet-https


Write your first app: https://aka.ms/dotnet-hello-world

Find out what's new: https://aka.ms/dotnet-whats-new

Explore documentation: https://aka.ms/dotnet-docs

Report issues and find source on GitHub: https://github.com/dotnet/core

Use 'dotnet –help' to see available commands or visit: https://aka.ms/dotnet-cli


.NET SDK (6.0.110)

Usage: dotnet [runtime-options] [path-to-application] [arguments]

Execute a .NET application.

runtime-options:

 --additionalprobingpath    Path containing probing policy and assemblies to probe for.
 --additional-deps          Path to additional deps.json file.
 --depsfile                       Path to .deps.json file.
 --fx-version            Version of the installed Shared Framework to use to run the application.
 --roll-forward          Roll forward to framework version  (LatestPatch, Minor, LatestMinor, Major, LatestMajor, Disable).
 --runtimeconfig                  Path to .runtimeconfig.json file.

path-to-application:

 The path to an application .dll file to execute.

Usage: dotnet [sdk-options] [command] [command-options] [arguments]

Execute a .NET SDK command.

sdk-options:

 -d|--diagnostics  Enable diagnostic output.
 -h|--help         Show command line help.
 --info            Display .NET information.
 --list-runtimes   Display the installed runtimes.
 --list-sdks       Display the installed SDKs.
 --version         Display .NET SDK version in use.

SDK commands:

 add               Add a package or reference to a .NET project.
 build             Build a .NET project.
 build-server      Interact with servers started by a build.
 clean             Clean build outputs of a .NET project.
 format            Apply style preferences to a project or solution.
 help              Show command line help.
 list              List project references of a .NET project.
 msbuild           Run Microsoft Build Engine (MSBuild) commands.
 new               Create a new .NET project or file.
 nuget             Provides additional NuGet commands.
 pack              Create a NuGet package.
 publish           Publish a .NET project for deployment.
 remove            Remove a package or reference from a .NET project.
 restore           Restore dependencies specified in a .NET project.
 run               Build and run a .NET project output.
 sdk               Manage .NET SDK installation.
 sln               Modify Visual Studio solution files.
 store             Store the specified assemblies in the runtime package store.
 test              Run unit tests using the test runner specified in a .NET project.
 tool              Install or manage tools that extend the .NET experience.
 vstest            Run Microsoft Test Engine (VSTest) commands.
 workload          Manage optional workloads.

Additional commands from bundled tools:

 dev-certs         Create and manage development certificates.
 fsi               Start F# Interactive / execute F# scripts.
 sql-cache         SQL Server cache command-line tools.
 user-secrets      Manage development user secrets.
 watch             Start a file watcher that runs a command when files change.

Run 'dotnet [command] –help' for more information on a command.

C Sharp: C# Fundamentals, C# Inventor - C# Language Designer: Anders Hejlsberg of Microsoft in January 2000, Now Mads Torgersen is Primary Architect; Dot Net, C# Keywords, C# on Linux, C# on macOS, C# on Windows, C# on Android, C# on iOS, C# Installation (choco install dotnet, brew install dotnet), C# Containerization ( C# with Docker, C# with Podman, C# and Kubernetes), C# Built-In Data Types, C# Data Structures - C# Algorithms, C# Syntax, C# OOP - C# Design Patterns, Clean C# - C# Style Guide, C# Best Practices ( C# Core Guidelines (CG), ) - C# BDD, C# Compiler, C# IDEs (Visual Studio, Visual Studio Code, JetBrains Ryder), C# Development Tools, C# Linter, C# Debugging, C# Modules, C# Packages, C# Package Manager (NuGet), C# Standard Library, C# libraries, C# frameworks, C# DevOps - C# SRE, C# .NET and Databases (LINQ and Entity Framework ORM), C# Data Science - C# DataOps, C# Machine Learning - ML.NET, C# Deep Learning, Functional C#, C# Concurrency, C# Parallel Programming, Async C#, C# History, C# Bibliography, Manning C Sharp Series, C# Courses, C# Glossary, C# Versions, C# Topics, C# Research, C# GitHub, Written in C#, C# Popularity, C# Awesome. (navbar_csharp - see also navbar_csharp_versions, navbar_dotnet_versions, navbar_csharp_libraries, navbar_csharp_standard_library, navbar_fsharp)

Homebrew: Cloud Monk's Package Manager Book Homebrew Chapter, Cloud Monk's Development PC DevOps Automation via Ansible-Chocolatey-PowerShell-Homebrew-DNF-APT, Homebrew Glossary, Homebrew Fundamentals, Homebrew Inventor - Homebrew Designer: Mike McQuaid, Brew DevOps - Homebrew on macOS - macOS DevOps - MacOps, Homebrew on Linux - Linux DevOps - LinuxOps, Homebrew Automation, Idempotent, Refreshenv, Homebrew Topics, macOS Package Managers, Package managers, macOS Configuration Management, PowerShell on macOS Ansible on macOS, Chef on macOS, Puppet on macOS (navbar_brew - see also navbar_choco, navbar_package_manager)


Cloud Monk is Retired (for now). Buddha with you. © 2005 - 2024 Losang Jinpa or Fair Use. Disclaimers

SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.


brew_install_dotnet.txt · Last modified: 2022/11/07 18:29 by 127.0.0.1