0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Neovim / vimpack】CLI経由でのパッケージの更新・同期

0
Last updated at Posted at 2026-07-12

最近 lazy.nvim から vimpack に乗り換えました。

今回はCLI経由で、各パッケージの同期方法と更新方法をご紹介します。

更新

すべてのプラグインを最新のコミット状態に更新します。

復元

別のPCで環境構築する際など、lockfileに記録された通りのバージョンに復元します。

まとめ

以下のように「コマンドモードでやる方法」もありますが、他の自動化ツールと連携したいなど、CLI経由もなにかと覚えておくと便利ですよね。

すべてのプラグインをアップデート

:lua vim.pack.update()

特定のプラグインだけを指定してアップデート

:lua vim.pack.update({'plenary.nvim', 'neo-tree.nvim'})
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?