go
This commit is contained in:
parent
088c721945
commit
831beab49d
13
source/_posts/Linux/常用软件.md
Normal file
13
source/_posts/Linux/常用软件.md
Normal file
@ -0,0 +1,13 @@
|
||||
---
|
||||
title: 常用软件
|
||||
categories:
|
||||
- Linux
|
||||
keywords: []
|
||||
tags: []
|
||||
date: 2022-09-03 19:15:32
|
||||
---
|
||||
|
||||
# 媒体
|
||||
|
||||
- [VLC](https://www.videolan.org/index.zh.html)
|
||||
- [OBS](https://obsproject.com/zh-cn/)
|
@ -10,9 +10,13 @@ tags:
|
||||
date: 2022-09-03 18:18:10
|
||||
---
|
||||
|
||||
# 环境搭建
|
||||
# 安装
|
||||
|
||||
## 配置
|
||||
``` sh
|
||||
sudo pacman -S nodejs npm
|
||||
```
|
||||
|
||||
# 配置
|
||||
|
||||
用户配置文件 `$HOME/.npmrc`
|
||||
|
||||
@ -20,8 +24,28 @@ date: 2022-09-03 18:18:10
|
||||
fund=false
|
||||
init.author.email=username@example.com
|
||||
init.author.name=Your Name
|
||||
init.version=0.0.1
|
||||
init.license=MIT
|
||||
init.version=0.1.0
|
||||
loglevel=error
|
||||
prefix=~/.node_modules
|
||||
registry=http://mirrors.cloud.tencent.com/npm/
|
||||
```
|
||||
|
||||
说明:
|
||||
|
||||
- 期中 init 开头的是 `npm init` 命令相关参数的默认设定
|
||||
- fund 控制是否提示某包寻求捐赠支持
|
||||
- prefix 是用户个人依赖的安装位置
|
||||
- loglevel
|
||||
- registry 安装源
|
||||
- http://mirrors.cloud.tencent.com/npm/
|
||||
- https://registry.npm.taobao.org
|
||||
|
||||
除了直接修改这个文件,还可以通过命令的方式调整文件中的设定,如:
|
||||
|
||||
``` sh
|
||||
npm config set fund false
|
||||
npm config set registry http://mirrors.cloud.tencent.com/npm/
|
||||
```
|
||||
|
||||
另外,请将 `$HOME/.node_modules/bin` 放进你的环境参数 PATH 中!
|
||||
|
Loading…
Reference in New Issue
Block a user