avatarGuany 的博客
项目文档使用

文档

指南

  • 简介

环境

  • macOS
  • Linux
  • Ubuntu
  • Windows
  • WSL
  • Zsh
  • PowerShell
  • Warp
  • Windows Terminal
  • VS Code
  • Git
  • SSH
  • Docker
  • fnm
  • ni
  • Claude Code
  • fastfetch
  • Raycast
  • ZeroTier

ni

ni

安装

配置

Windows

MacOS/Linux

页面导航

  • 安装
  • 配置
  • Windows
  • MacOS/Linux
sh
npm i -g @antfu/ni
powershell
Remove-Item Alias:ni -Force -ErrorAction Ignore
powershell
function nio {    ni --prefer-offline}function s {    nr start}function d {    nr dev}function b {    nr build}function bw {    nr build --watch}function t {    nr test}function tu {    nr test -u}function tw {    nr test --watch}function w {    nr watch}function p {    nr play}function c {    nr typecheck}function lint {    nr lint}function lintf {    nr lint --fix}function release {    nr release}function re {    nr release}
sh
alias nio="ni --prefer-offline"alias s="nr start"alias d="nr dev"alias b="nr build"alias bw="nr build --watch"alias t="nr test"alias tu="nr test -u"alias tw="nr test --watch"alias w="nr watch"alias p="nr play"alias c="nr typecheck"alias lint="nr lint"alias lintf="nr lint --fix"alias release="nr release"alias re="nr release"