mac m1设置typora picgo图床上传

1 下载npm

brew install npm

2 配置node.js + typora + picgo

下载node.js

image-20220105123720840

安装完成进行以下步骤

# 查看node 安装路径
tinachan@tinadeair ~ % which node
/usr/local/bin/node
# npm安装picgo
tinachan@tinadeair ~ % sudo npm install picgo -g

# 查看picgo安装路径
tinachan@tinadeair ~ % which picgo
/opt/homebrew/bin/picgo
# 设置gitee插件
tinachan@tinadeair ~ % picgo install gitee-uploader
# 设置插件 :只需要填repo 和 token
tinachan@tinadeair ~ % picgo set uploader
? Choose a(n) uploader gitee
? repo: # 填仓库名(格式:用户名/仓库名)
? branch: master
? token: # 填私人令牌
? path: 
? customPath: default
? customUrl: 
[PicGo SUCCESS]: Configure config successfully!
# 设置use uploader
tinachan@tinadeair ~ % picgo use uploader
? Use an uploader gitee
[PicGo SUCCESS]: Configure config successfully!

到typora设置

image-20220106095405419
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值