Crates.io | nicky |
lib.rs | nicky |
version | 0.34.0 |
source | src |
created_at | 2024-10-25 01:33:26.590624 |
updated_at | 2024-10-25 01:33:26.590624 |
description | configuration management for developers |
homepage | |
repository | https://github.com/ciiqr/nk |
max_upload_size | |
id | 1421960 |
size | 184,511 |
configuration management for developers
Install nk
curl -fsSL https://raw.githubusercontent.com/ciiqr/nk/HEAD/install.sh | bash
Add to path
append to your ~/.zprofile
or ~/.bash_profile
/~/.bashrc
to make this permanent
export PATH="${HOME}/.nk/bin:${PATH}"
Install nk (via powershell)
Set-ExecutionPolicy Bypass -Scope Process -Force
Invoke-Expression ((New-Object System.Net.WebClient).DownloadString(
'https://raw.githubusercontent.com/ciiqr/nk/HEAD/install.ps1'
))
Add to path
for current session only, install script already updated user path which will be used for new sessions
$env:Path = "${HOME}/.nk/bin" + [IO.Path]::PathSeparator + $env:Path
Create nk config ./.nk.yml
sources:
- .
plugins:
- ciiqr/nk-plugins
Create state config ie. config.yml
(any *.yml
except dotfiles .*.yml
)
when: os == "macos"
packages:
- homebrew/cask/google-chrome
Provision state
nk provision
./bin/dev setup