跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[分享创造] 用 Go 写了个 Composer 版本管理器 CVM

发表于

Github: https://github.com/wujingquan/cvm

CVM for Windows

消除了在 Windows 上的 CLI 中更改 Composer 版本 的麻烦。

这个包有一个比 nvm 更小众的用例。当在 Windows 上开发并使用集成终端时,很难让这些终端真正听取 PATH 的变化。

这个实用程序改变了这一点。

安装

Github Releases 页面 下载最新版本 CVM

创建目录 %UserProfile%\.cvm\bin(例如:C:\Users\Example\.cvm\bin)并且把刚刚下载 cvm.exe 放入该目录,然后把该目录添加到系统变量。

命令

cvm list

将列出您已安装的所有可用 Composer 版本。

cvm path

把输出的路径添加到环境变量。

cvm use 2.7.7

注意:

必须在 use 命令中指定 major.minor 即主版本号次版本号。如果省略了 .patch 即修订版本号,则会选择最新的可用修订版本

将当前的 Composer 版本切换到 Composer 2.7.7

cvm install 2.7

注意:

如果未指定最新的次要版本号修订版本号,install 命令将自动安装最新修订版本

将安装 Composer 2.7 最新修订版本。

感谢

  • 基于 PVM

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.