When you host internal packages, those packages can embed software and/or point to internal shares. You are not subject to software distribution rights like the packages on the community feed, so you can create packages that are more reliable and secure. First you should determine if you are making a self-contained package or (also) using automation scripts. You should also consider creating autom
この記事は、PowerShell Advent Calendar 2019の一日目です。 qiita.com Windows のパッケージマネージャーの裏はPowerShellが多く使われています。 そんなWindows におけるパッケージマネージャーと言えば、Package Management Chocolatey が有名なのではないでしょうか? 私もChocolatey をパッケージマネージャーに用いて開発環境の構築をしてきましたが、課題が多かったため Scoopに切り替えました。 Chocolatey で何が問題だったのか、なぜscoop を選んだのか、この一年 scoop をどのように環境構築に利用しているのかを紹介したいと思います。 目次 目次 TL;DR Chocolatey の利用 どのように Chocolatey を利用していたのか Chocolatey で困ること Ch
Proxy Setting Considerations Proxy Configuration Priority Chocolatey applies proxy configuration based on the order below: Command line arguments. Chocolatey configuration. Environment variables. System configured proxy server. Known Limitations Certain Chocolatey products are known to apply different proxy settings depending on circumstances. Chocolatey GUI - Downloading icons does not honor Choc
書いた理由 背景とかどうでも良いからやり方が知りたい人向け 認証プロキシ chocolateyでググってもまどろっこしくて古いバージョン向けが多かった 対象環境 chocolatey 0.10.5 Win10 Pro 64bit win7 Ult 64bit 導入手順 事前準備 公式サイトからファイルを取得 プロキシを超えるためにファイル内の以下行を書き換える $explicitProxy = "プロキシサーバ:ポート" $explicitProxyUser = "ユーザー名" $explicitProxyPassword = "パスワード" ファイルを保存して閉じる 手順 パワーシェルを管理者権限で起動 コマンド"Set-ExecutionPolicy RemoteSigned"を実行 事前準備で引っ張ってきたinstall.ps1を実行 導入後のproxy向けの設定 パワーシェルを管理
Windows用のnodeバージョン管理ツールにnodistというものがあります。 marcelklehr/nodist: Natural node.js and npm version manager for windows. これを使って開発をしていると次のようなエラーが出る場合があります。 Sorry, there's a problem with nodist. Couldn't resolve version spec %s: %s nodev7.2.0 Unexpected character in constraint nodev7.2.0: node Error: Couldn’t resolve version spec %s: %s · Issue #155 · marcelklehr/nodist これはこのコメントでも書かれているように、semver関連のバグのよう
そのままでは実行できないPowerShellの.ps1スクリプトファイル PowerShellのスクリプトは「.ps1」という拡張子のファイルに保存することになっている。だが、セキュリティのためデフォルトでは、「.ps1」のスクリプトファイルの実行が禁止されている。エクスプローラ上で.ps1ファイルをダブルクリックしても、単にテキストエディタで開かれるだけだ。これは、ユーザーや管理者が知らないうちにPowerShellを悪用したウイルスなどがインストールされ、実行されないようにするためだ。
Resources Watch videos, read documentation, and hear Chocolatey success stories from companies you trust. View Resources Events Find past and upcoming webinars, workshops, and conferences. New events have recently been added! View Events Courses Step-by-step guides for all things Chocolatey! Earn badges as you learn through interactive digital courses. View Courses Join our monthly Unpacking Softw
B! 27 0 0 0 新しいWindowsマシンを手に入れて からアプリとかを取り敢えず直接手で入れてましたが 落ち着いた所でMacのHomebrewやLinux apt-get/yum的な パッケージ管理を試してみました。 Windows 10からはデフォルトでPackageManagementという パッケージ管理用のコマンドツールが PowerShellで使える様になっています。 そのツールからパッケージソースとしてChocolateyを使い、 登録されているアプリをインストールすることが出来ます。 PackageManagement (OneGet) 最初にすること PackageManagementを使ってみる Provider/Souerce アプリのインストール アプリのアンインストール PowerShell tips まとめ PackageManagement (OneG
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く