-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathupdate_tools.mac
executable file
·43 lines (35 loc) · 1.46 KB
/
update_tools.mac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/sh
#brew update && brew upgrade && brew upgrade git python3 python node youtube-dl code
#Error: No available formula with the name "code"
brew update && brew upgrade && brew upgrade git python3 python node youtube-dl
#npm i npm
#npm WARN saveError ENOENT: no such file or directory, open '/Volumes/DATA/package.json'
#npm notice created a lockfile as package-lock.json. You should commit this file.
#npm WARN enoent ENOENT: no such file or directory, open '/Volumes/DATA/package.json'
#npm WARN DATA No description
#npm WARN DATA No repository field.
#npm WARN DATA No README data
#npm WARN DATA No license field.
#
#added 682 packages from 744 contributors in 18.943s
#[!] 4 vulnerabilities found [5049 packages audited]
# Severity: 2 Low | 2 High
# Run `npm audit` for more detail
npm install -g npm@latest
npm update -g wepy-cli typescript coffeescript vue
#todo: macos upgrde pip3
#sudo pip install --upgrade pip pip3
#Collecting pip3
# Could not find a version that satisfies the requirement pip3 (from versions: )
#No matching distribution found for pip3
#https://github.com/Homebrew/legacy-homebrew/issues/50607
#python3 -m pip install -U --force-reinstall pip
python3 -m pip install -U pip
#$which pip3
#/usr/local/bin/pip3
#$pip3 -V
#pip 10.0.1 from /usr/local/lib/python3.6/site-packages/pip (python 3.6)
#$pip -V
#pip 10.0.1 from /usr/local/lib/python3.6/site-packages/pip (python 3.6)
pip3 install --upgrade virtualenv tensorflow keras itchat