Coder Social home page Coder Social logo

windows-settings's Introduction

Windowsの設定ファイルなど

普段利用するソフトウェアのインストール方法

前準備

Chocolateyからインストールするためには、ダウンロードしたスクリプトを実行できる必要がある。なので、PowerShellのExecutionPolicyを変更する。

Get-ExecutionPolicy # 現在の設定を確認
Set-ExecutionPolicy RemoteSigned # RemoteSignedに設定

Chocolateyのインストール

PowerShellで以下のコマンドを実行する。(Installation

iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

インストール

packages.configをダウンロードする。 PowerShellを管理者権限で起動し、以下のコマンドを実行する。

choco install packages.config -y

設定ファイルの設置

Gitが入ったのでリポジトリごと取ってくる。

git clone https://github.com/elnikkis/windows-settings.git

vimfilesフォルダをホームディレクトリ以下に移動する。またはジャンクションなどを作成する。 .latexmkrc.gitconfigもホームディレクトリに配置する(Windowsではシンボリックリンクを作成するのが面倒なのでコピーが良い)。

手動インストール

Ricty Diminished

Vagrant

プログラミングのできる仮想環境を一発で作成するVagrantfileを書いている予定だけど微妙。


OneGetはやめた

OneGetよりChocolateyのほうが機能が豊富。 PackageManagementはデフォルトで入っているといっても設定が必要なので、それならChocolateyをインストールしても同じだと思った。

OneGetの設定

Windows 10にはPackageManagement (OneGet)の機能がある。Chocolateyからパッケージをインストールできるように設定する。 そして、毎回確認が出るのが面倒なので、Chocolateyのsourceをtrustedに設定する(自己責任で)。

Get-PackageProvider -Name Chocolatey
Get-PackageProvider -Name NuGet
set-packagesource -Name "chocolatey" -NewName "trusted-chocolatey" -Trusted -ProviderName "chocolatey"

インストール

PowerShellを管理者権限で起動し、以下のコマンドを実行する。 するといろいろインストールされる。

./setup.ps1

Windows 10でない場合は、Chocolateyをインストールして、package.configを書きかえて最新にしてインストールすると良いと思う。そのときになって考える。

windows-settings's People

Contributors

elnikkis avatar

Stargazers

balar avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.