展开/折叠
Password Manager
是一个安全的密码存储和管理工具。
✅ 安全存储密码
✅ AES 加密保护数据
✅ 命令行管理密码
✅ 备份数据
- 你可以将编译后的
pm
文件获取到本地电脑,并将其添加到环境变量,以便在命令行中随时使用。 - 将整个项目克隆到本地后,进入项目目录,运行
go build -o pm
命令来编译 Golang 程序,生成可执行文件,并将其路径添加到环境变量,以便在命令行中随时使用。(推荐)
-
克隆仓库到本地
git clone https://github.com/mike120200/terminal-password-manager.git
-
编译golang程序生成可执行文件
go build -o pm
-
创建pm_dir目录(其他命名也可,配置环境变量的时候对应上即可)
mkdir pm_dir
-
将pm移动至
pm_dir
-
配置环境变量
-
设置 Zsh 终端的环境变量,
path
替换成真实的路径echo 'export PATH="/path/pm_dir:$PATH"' >> ~/.zshrc source ~/.zshrc
-
设置bash环境变量,
path
替换成真实的路径echo 'export PATH="/path/pm_dir:$PATH"' >> ~/.bash_profile source ~/.bash_profile
-
-
检查是否安装成功
pm --help
-
克隆仓库到本地
git clone https://github.com/mike120200/terminal-password-manager.git
-
编译golang程序生成可执行文件
go build -o pm
-
创建pm_dir目录(其他命名也可,配置环境变量的时候对应上即可)
mkdir pm_dir
-
将pm移动至
pm_dir
-
配置环境变量
-
将以下
export PATH="/path/pm_dir:$PATH"
放到对应的操作系统的配置文件里面echo 'export PATH="/path/pm_dir:$PATH"' >> /etc/profile source /etc/profile
-
-
检查是否安装成功
pm --help
-
克隆仓库到本地
git clone https://github.com/mike120200/terminal-password-manager.git
-
编译golang程序生成可执行文件
go build -o pm
-
创建 pm_dir 文件夹(其他命名也可,配置环境变量的时候对应上即可)
-
将pm.exe移动至pm_dir
-
配置环境变量
- 打开 控制面板 → 系统 → 高级系统设置 → 环境变量
- 在 系统变量 或 用户变量 里找到 Path
- 点击 编辑,新增 文件夹
pm_dir
的绝对路径 - 保存后重启 CMD
-
检查是否安装成功
pm --help
Expand/Collapse
Password Manager is a secure password storage and management tool.
📌 Main Features:
✅ Securely store passwords ✅ AES encryption for data protection ✅ Manage passwords via the command line ✅ Backup stored data
🚀 Installation Guide (Mac & Windows)
- You can download the compiled pm executable file to your local computer and add it to the system environment variables for convenient command-line usage.
- After cloning the entire project to your local machine, navigate into the project directory and execute the
go build -o pm
command to compile the Golang program, generating an executable file. Then, add its path to your environment variables to make it readily available for use from the command line at any time. (Recommended)
-
Clone the repository to your local machine
git clone https://github.com/mike120200/terminal-password-manager.git
-
Compile the Golang program to generate an executable file
go build -o pm
-
Create a pm_dir directory (you can use any name, just ensure it matches in the environment variable configuration)
mkdir pm_dir
-
Move pm into pm_dir
-
Configure environment variables
-
For Zsh terminal*, replace path with th*e actual directory path
echo 'export PATH="/path/pm_dir:$PATH"' >> ~/.zshrc source ~/.zshrc
-
For Bash terminal, replace path with the actual directory path
echo 'export PATH="/path/pm_dir:$PATH"' >> ~/.bash_profile source ~/.bash_profile
-
-
Verify Installation
pm --help
-
Clone the repository to your local machine
git clone https://github.com/mike120200/terminal-password-manager.git
-
Compile the Golang program to generate an executable file
go build -o pm
-
Create a pm_dir folder (you can use any name, just ensure it matches in the environment variable configuration)
-
Move pm into pm_dir
-
Configure environment variables
-
Place the following
export PATH="/path/pm_dir:$PATH"
into the corresponding operating system's configuration file.echo 'export PATH="/path/pm_dir:$PATH"' >> /etc/profile source /etc/profile
-
-
Verify Installation
pm --help
-
Clone the repository to your local machine
git clone https://github.com/mike120200/terminal-password-manager.git
-
Compile the Golang program to generate an executable file
go build -o pm
-
Create a pm_dir folder (you can use any name, just ensure it matches in the environment variable configuration)
-
Move pm.exe into pm_dir
-
Configure environment variables
-
Open Control Panel → System → Advanced System Settings → Environment Variables
-
Locate Path under System Variables or User Variables
-
Click Edit, then add the absolute path of the pm_dir folder
-
Save the changes and restart CMD
- Verify installation
pm --help