Cnct 0.3.1
dotnet tool install --global Cnct --version 0.3.1
dotnet new tool-manifest
dotnet tool install --local Cnct --version 0.3.1
#tool dotnet:?package=Cnct&version=0.3.1
nuke :add-package Cnct --version 0.3.1
cnct
Install your dotfiles, no matter what platform you're on.
Build Status
Branch | |
---|---|
develop | |
main |
Overview
Cnct is a cross-platform command-line tool that aims to make bootstrapping your developer environment easier. This is accomplished by providing a set of common operations (e.g. creating symlinks) that can be expressed in a simple configuration.
Installation
Create a personal access token (PAT) that has the read:packages
scope.
# When prompted, enter the PAT you created as the password
$c = Get-Credential -UserName "<your GitHub username>"
dotnet nuget add source --name github-bgold09 "https://nuget.pkg.github.com/bgold09/index.json" `
--username $c.UserName --password $c.GetNetworkCredential().Password
dotnet tool install --global cnct
Configuration file
The configuration file is how you express the steps that cnct
should perform. The configuration is an
array of steps that will be completed in order. For the full schema of a cnct
configuration file, see
the schema for the cnct version you are using.
Usage
The simplest way to run your setup as specified in the configuration file is to run cnct
from the
directory that contains your cnct.json
file:
cd ~/.dotfiles
cnct
You can also explicitly point to the location of your config:
cnct -c ~/.dotfiles/cnct.json
Thanks and Credit for Inspiration
- Anish Athalye for dotbot, which heavily inspired this project
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
Version | Downloads | Last Updated |
---|---|---|
0.3.1 | 62 | 9/6/2025 |