欢迎光临散文网 会员登陆 & 注册

install-solft-with-scoop

2022-08-21 21:31 作者:一点金光  | 我要投稿

install-solft-with-scoop


## why use ?

- [x] like installing with cmd

- [x] automate


## install scoop

 - [x] open powershell with admin

-  [x] copy next code ,paste it to powershell , enter to run

```powershell

# enable to run cmd in ps

Set-ExecutionPolicy RemoteSigned -scope CurrentUser;

# set env variant scoop (where we will install other solft with scoop)

$env:SCOOP='E:\Scoop'

[Environment]::SetEnvironmentVariable('SCOOP', $env:SCOOP, 'User')

# download and scoop

iwr -useb get.scoop.sh | iex

```


## update scoop

```bash

scoop install scoop

```


## uninstall scoop


## next working

 - [x] add/update install-scoop.ps1

 - [x] add/update scoop-install-xx.ps1 

or :

 - [x]  scoop-install-xx.mjs (node.js )

 - [x]  scoop-install-xx.sh (bash)

.....


## reference

[scoop-offical-home](https://scoop.sh)

install-solft-with-scoop的评论 (共 条)

分享到微博请遵守国家法律