All Projects → tonerdo → dotget

tonerdo / dotget

Licence: MIT license
Installer for .NET Core CLI Apps

Programming Languages

C#
18002 projects
powershell
5483 projects
shell
77523 projects
Batchfile
5799 projects

Projects that are alternatives of or similar to dotget

OtripleS
This is an open source schooling system, dedicated to provide a better experience for schools needing a management and communication and tutoring system all in one place. This project is aiming toward directing all the software development funds and hours to families in need, the idea of the project is to allow schools to use the system as long …
Stars: ✭ 273 (+680%)
Mutual labels:  dotnetcore
PATCH
The PATCH repository for issues tracking, wiki and shared material.
Stars: ✭ 34 (-2.86%)
Mutual labels:  dotnetcore
aliyun-openapi-sdk-net-core
aliyun open api sdk for .net core 2.0
Stars: ✭ 17 (-51.43%)
Mutual labels:  dotnetcore
LoveCollection
我们搞技术的经常会要收藏些链接、资料什么的。但是,由于资料过多,浏览器的收藏夹并不便于管理,于是就诞生了“爱收藏”。https://i.haojima.net
Stars: ✭ 41 (+17.14%)
Mutual labels:  dotnetcore
GatewayService
GatewayService (Ocelot).
Stars: ✭ 19 (-45.71%)
Mutual labels:  dotnetcore
web-installer
Web-based installer for Winter CMS
Stars: ✭ 24 (-31.43%)
Mutual labels:  installer
goris
This is a CLI tool to search for images with Google Reverse Image Search (goris).
Stars: ✭ 62 (+77.14%)
Mutual labels:  cli-tool
installer-scripts
💻 Bash scripts for doing installations in one go.
Stars: ✭ 17 (-51.43%)
Mutual labels:  installer
MS-PS-Installer
Automated PowerShell installer for *Nix with multi Distro support.
Stars: ✭ 20 (-42.86%)
Mutual labels:  installer
platformio-core-installer
PlatformIO Core Installer
Stars: ✭ 53 (+51.43%)
Mutual labels:  installer
AppMan
A portable AppImage manager that installs, removes, updates and manages software (locally) like APT or Pacman do.
Stars: ✭ 36 (+2.86%)
Mutual labels:  installer
loli
A pretty CLI to find animes passing images 👉😳👈
Stars: ✭ 17 (-51.43%)
Mutual labels:  cli-tool
arch-install
A highly configurable script automatically installing Arch Linux.
Stars: ✭ 32 (-8.57%)
Mutual labels:  installer
Samples
Sample applications using App.Metrics
Stars: ✭ 19 (-45.71%)
Mutual labels:  dotnetcore
Dark Souls Config Utility
All-in-one installer and configuration UI for various mods/fixes for Dark Souls™: Prepare to Die Edition.
Stars: ✭ 27 (-22.86%)
Mutual labels:  installer
DownloadFullInstaller
macOS application written in SwiftUI that downloads installer pkgs for the Install macOS Big Sur application.
Stars: ✭ 678 (+1837.14%)
Mutual labels:  installer
cleanup
Remove gone Git branches with ease.
Stars: ✭ 21 (-40%)
Mutual labels:  cli-tool
Pharmacist
Builds observables from events.
Stars: ✭ 221 (+531.43%)
Mutual labels:  dotnetcore
APK-Installer
An Android Application Installer for Windows
Stars: ✭ 1,076 (+2974.29%)
Mutual labels:  installer
alminium
勉強しながら、少しずつ更新しています。現在、Ubuntu 18.04&CentOS7でRedmine3.4が動作します。
Stars: ✭ 14 (-60%)
Mutual labels:  installer

dotGet Windows build status License: MIT

dotGet is a command line installer for cross platform CLI tools built with .NET Core. dotGet makes your .NET Core command line tools, distributed via NuGet, available for use via the system path.

Installation

Prerequisites

Install .NET Core

Windows

(new-object Net.WebClient).DownloadString("https://raw.githubusercontent.com/tonerdo/dotget/master/scripts/install.ps1") | iex

Unix

curl -s https://raw.githubusercontent.com/tonerdo/dotget/master/scripts/install.sh | bash

Note: Ensure that $HOME/.dotget/bin has been added to your path after installation

Usage

To see a list of commands, run:

dotnet get --help

The current commands are (output from dotnet get --help):

.NET Core Tools Global Installer 1.0.0.0

Usage: dotnet get [options] [command]

Options:
  -h|--help     Show help information
  -v|--version  Show version information
  --verbose     Enable verbose output

Commands:
  install    Installs a .NET Core tool
  list       Lists all installed .NET Core tools
  uninstall  Uninstalls a .NET Core tool
  update     Updates a .NET Core tool

Use "dotnet get [command] --help" for more information about a command.

Installing a tool

To install a .NET Core tool, simply run:

dotnet get install <source>[@version]

source in this case is a published NuGet package with the following structure:

├── build
├── content
├── lib
├── tools
│   └── netcoreapp*.*
│       └── <app>.deps.json
│       └── <app>.runtimeconfig.json
│       └── <app>.dll
│       └── <some-dependency>.dll
│       └── <some-other-dependency>.dll
└── <package>.nuspec
  • The NuGet package must contain a tools folder (the other folders are completely optional for dotGet)
  • The tools folder should have at least one sub-folder with a .NET Core App moniker (e.g netcoreapp2.0)
  • The contents of the netcoreapp*.* folder should be a published framework dependent .NET Core app.
  • The netcoreapp*.* folder can contain multiple framework dependent .NET Core apps.

After installation the command <app> will now be available from the system path and invoking that will execute the .NET Core app.

Updating a tool

To update an already installed .NET Core tool, simply run:

dotnet get update <source>

Updating dotGet

To update dotGet itself, you just need to run the update command without including a <source>, like so:

dotnet get update

Listing installed tools

To get a list of all installed .NET Core tools, simply run:

dotnet get list

Uninstalling a tool

To remove a .NET Core tool, you simply run:

dotnet get uninstall <source>

Issues & Contributions

If you find a bug or have a feature request, please report them at this repository's issues section. Contributions are highly welcome, however, except for very small changes, kindly file an issue and let's have a discussion before you open a pull request.

License

This project is licensed under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].