シェルスクリプト基本リファレンスの学習用リポジトリ
ついでにbun x zxでシェルスクリプトを書けるかも試したい
% curl -fsSL https://bun.sh/install | bash -s "bun-v1.0.2"
% bun --version
1.0.2
現時点での最新バージョンはv1.0.3だが以下のエラーが出るのでv1.0.2を指定してインストール。
% bun init
% tree .
.
├── README.md
├── bun.lockb
├── index.ts
├── lessone1
│ └── example.sh
├── node_modules
│ └── bun-types
│ ├── README.md
│ ├── package.json
│ ├── tsconfig.json
│ └── types.d.ts
├── package.json
└── tsconfig.json
% bun run index.ts
Hello via Bun!
% bun add zx
bun add v1.0.2 (37edd5a6)
installed zx@7.2.3 with binaries:
- zx
57 packages installed [2.84s]