15 Useful Command Line in Terminal That I Had Used

Photo by Goran Ivos on Unsplash
Install-Package Newtonsoft.Json -ProjectName MyProject
Get-Package -updates
Update-Package Newtonsoft.Json
Add-Migration IntializeDatabase
Update-Database IntializeDatabase
Scaffold-DbContext -Connection "Server=.;Database=MyDatabaseName;Integrated Security=True;" -Provider Microsoft.EntityFrameworkCore.SqlServer
dotnet tool install --global PowerShell
brew install --cask powershell
brew update
brew upgrade powershell — cask
docker run -d -p 80:80 docker/getting-started
  • -p 80:80 (map port 80 of the host and 80 port in the container
  • docker/getting-started is an image you get in the Docker that helps you start the Docker
docker pull PoweShell
docker pull mcr.microsoft.com/mssql/server:2019-latest
docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=<YourStrong@Passw0rd>" \    -p 1433:1433 --name sql1 -h sql1 \    -d mcr.microsoft.com/mssql/server:2019-latest
brew install gh



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Stanislava Stoeva

Stanislava Stoeva


💻Developer 👩‍💻Blogger 🌞 If you want to learn some Programming or Marketing I am sharing what I have learned