File tree Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,12 @@ public function getFiles(): array
7171 'destination ' => 'package.json ' ,
7272 'template ' => 'cli/package.json.twig ' ,
7373 ],
74+ [
75+ 'scope ' => 'default ' ,
76+ 'destination ' => 'scoop/appwrite.json ' ,
77+ 'template ' => 'cli/scoop/appwrite.json.twig ' ,
78+ 'minify ' => false ,
79+ ],
7480 [
7581 'scope ' => 'default ' ,
7682 'destination ' => 'LICENSE.md ' ,
Original file line number Diff line number Diff line change @@ -59,9 +59,14 @@ $ brew install --HEAD {{ language.params.executableName }}
5959> Please note that `--HEAD` will be removed with official release.
6060
6161### Windows
62+ Via Powershell
6263```powershell
6364$ iwr -useb {{ sdk .url }}/cli/install.ps1 | iex
6465```
66+ Via [Scoop](https://scoop.sh)
67+ ```powershell
68+ $ scoop install https://raw.githubusercontent.com/{{ sdk .gitUserName }}/{{ sdk .gitRepoName | caseDash }}/master/scoop/appwrite.json
69+ ```
6570
6671Once the installation completes, you can verify your install using
6772```
Original file line number Diff line number Diff line change 1+ {
2+ "$schema": "https://raw.githubusercontent.com/ScoopInstaller/Scoop/master/schema.json",
3+ "version": "{{ sdk .version }}",
4+ "description": "The Appwrite CLI is a command-line application that allows you to interact with Appwrite and perform server-side tasks using your terminal.",
5+ "homepage": "https://github.com/{{ sdk .gitUserName | url_encode }}/{{ sdk .gitRepoName | url_encode }}",
6+ "license": "BSD-3-Clause",
7+ "architecture": {
8+ "64bit": {
9+ "url": "https://github.com/{{ sdk .gitUserName }}/{{ sdk .gitRepoName | caseDash }}/releases/download/{{ sdk .version }}/{{ language .params .executableName }}-cli-win-x64.exe",
10+ "bin": [
11+ [
12+ "{{ language .params .executableName }}-cli-win-x64.exe",
13+ "{{ language .params .executableName | caseLower }}"
14+ ]
15+ ]
16+ },
17+ "arm64": {
18+ "url": "https://github.com/{{ sdk .gitUserName }}/{{ sdk .gitRepoName | caseDash }}/releases/download/{{ sdk .version }}/{{ language .params .executableName }}-cli-win-arm64.exe",
19+ "bin": [
20+ [
21+ "{{ language .params .executableName }}-cli-win-arm64.exe",
22+ "{{ language .params .executableName | caseLower }}"
23+ ]
24+ ]
25+ }
26+ },
27+ "checkver": {
28+ "github": "https://github.com/{{ sdk .gitUserName | url_encode }}/{{ sdk .gitRepoName | url_encode }}"
29+ }
30+ }
You can’t perform that action at this time.
0 commit comments